Make QueryCounter public

QueryCounter might be useful for people running tests
Also to create examples so we can track issues better