word count, first attempt