collect words_count program