Update TextStatistics.php