Pregunta de entrevista de Capco

Implement method to count repeated words in String