Accenture Interview Question

In String Find the unique words and its count