Implement sentenceOccurrences