got count_words working