How to Print count of duplicate characters from String

join shbcf.ru