How do you calculate the number of vowels and consonants in a String? How do you calculate the number of vowels and consonants in a String?