tuning the wordCount function to handle the case of zero words (nicely ;)

And it is optimized so the most common state of more then one word is being handle first.
Merge pull request #4 from greenido/patch-1

tuning the wordCount function to handle the case of zero words (nicely)