added simple word count function to README