Epic Interview Question

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