Add QueryCounter and query_limit_eq