count number of requests