better request counting