Feature request: word count

When I’m writing a new journal entry, it would be great if I could see a word count.

For example, I might be practicing for a standardized exam, where the goal is to write a text between a certain minimum and maximum number of words.

I suppose I could write my journal entry in a different app and copy/paste, but it would be convenient to have this feature right inside Langcorrect.

That would be a sweet feature. I have added a basic function to calculate the word count, but it does not use natural language processing. When I have more time I will implement a proper solution, but for now this should word well enough for space based languages.

    function getWordCount(text) {
        return text.split(/\S+/).length - 1;