GettingSameCharcount powered by(view source)

Description getting no of same characters in the string.
Output