<@U092308M7> as for the word count, try something ...
# tornadofx
c
@orangy as for the word count, try something like this. swap your countWords() out for my simple space regex split