Simple script to analyse how many times a word appears in a piece of text.