Need to count words of students answers

I’m trying to hire someone to build a wordcount plugin for coursepress. If that’s okay I’d like advice on what to tell them?

It’s the words that the users input into the answer boxes.

So for example there’s one course where the wordcount has to be between 2000-2500. A tracker would be really helpful to make sure they stay within that.