Added a count on each API request