revert "improve document count accuracy"