Basic word count function works.