Agility Kata "Word Count II"

Not all words are relevant for counting. A list of stop words (provided in the file "stopwords.txt") defines which words are not counted. Example of stopwords.txt, where each line contains a stop word:

the
a
on
off

Application example:

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

Previous iteration edited?

You are currently opening an agility kata. Have you already worked on the previous part?

Please only open this exercise if you have already completed the previous parts. The idea of the Agility Katas is to implement additional requirements on existing code. If you look at all the requirements first, the effect of the Agility Katas will be lost.

Inkremente