simple word count example