wordscount for simulation mode
Merge branch 'master' of github.com:DaMSL/K3-Core

several commits behind master branch