Epic interview question

Write code to determine the repeating strings and their count in the sentence.