Service to calculate the statistics of words in the text.