In this task, you need to count the number of vowels (letters 'a', 'e', 'i', 'o', 'u') / consonants (all letters other than vowels) in the given sentence.
--------
Question: Sentence: 'a young man playing baseball swings at home plate'. Count the number of vowels in the given sentence.

Answer: 15


Question: Sentence: 'a piece of cake sitting on a plate with a strawberry'. Count the number of consonants in the given sentence.

Answer: 25


Question: Sentence: 'this black and white photo was taken in ny an shows direction signs'. Count the number of consonants in the given sentence.

Answer:
37