word counter for large file corrected