Fixed bad averageSentenceLength implementation