querys debug count