add brword number for each document when indexing.