Word Count IV

Agility Kata „Word Count IV“

The application not only shows the number of words, but also the number of unique words. Sample usage:

$ wordcount
Enter text: Humpty-Dumpty sat on a wall. Humpty-Dumpty had a great fall.
Number of words: 9, unique: 7
$