[add] number of documents and average document length to document index