Logic to Count no of occurence of characters in the String

Complete and Continue