Agility Kata "Word Count I"

Write an application to count the number of words in a text. The app asks the user for the text at startup. The number of words found in the text is then displayed. Words are sequences of letters (a-z,A-Z). Example use:

$ wordcount
Enter text: Mary had a little lamb
Number of words: 5
$
en_USEnglish