Accenture interview question

In String Find the unique words and its count