Update displayed document count before fetching documents.