count no. of alphabets repeating in a String