updated word_count