Fix number of documents in statisctics