added sentence_count metric, improved sentence extraction and sentence type identification