Domanda di colloquio di Ness Digital Engineering

Q: Find the duplicate chars count form the given string input?