added text statistics