Export the anonymous function in analyse-sentence into a separate one - count-word
Add irrelevant words check in count-word