Modify Word Count Helper Method