removed redundant function name from word count solution