Count duplicated queries in the profiler