added example to count_words