https://tutorialworld.in/java-coding/count-duplicate-characters-string-java/
Count the duplicate characters in String using Java