bug fix: remove special chars to calculate the word count on the back-end