Record and return the total requests made in certain API calls