#8 refactor Word Counter