calculate statistics of text like readability ratio, counts etc