This program counts the numbers of times that a word appears in a text.