Get stats for entires other than search

I my case, the entry I was interested inside the QUERYHANDLER was named differently.

This request contains an adaption that allow to pass this in by argument.