formatting
+unit test
adding initial implementation of my own regex based word counter
converting string operation; no functional change
-unused import
tweaking encoding of text; -BOM