added count distinct word occurrences in file