get number of docs for each request