fix the counter of the number of requests