Kresd stats/log

Hi,
I am using a RPZ file to blacklist several domains, as described in:

I would like to know how many hits each domain gets and look for false/positives.
In my kreds config, stats package is loaded.
I used the kresd tty console, but the only statistic I could be was the hits on NXDOMAIN.

How can I track/log all the NXDOMAIN inkresd?

Thanks,
Leonardo

The simplest thing that occurs to me is writing a small module for that, e.g. in lua http://knot-resolver.readthedocs.io/en/latest/modules_api.html#writing-a-module-in-lua (example with capturing events). Still, it’s not trivial, as a bit knowledge of the internal representation is needed.