log the number of docs to process