On this page:
gl Query Counter
Version: 5.3.0.1

15 glQ...

(glQueryCounter id target)  any
  id : exact-nonnegative-integer?
  target : exact-integer?
Version 1.2.

See the glQueryCounter manpage.