On this page:
gl  Query  Counter
7.1

15 glQ...

procedure

(glQueryCounter id target)  any

  id : exact-nonnegative-integer?
  target : exact-integer?
Version 1.2.

See the glQueryCounter manpage.