sentenceOccurrences() implemeted.