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.

Sentence: 'an elephant standing on a dirt patch near a forest'. Count the number of vowels in the given sentence.
15

Sentence: 'a bird pecks its way through some vegetation'. Count the number of consonants in the given sentence.
23

Sentence: 'an empty park bench with an ocean view'. Count the number of consonants in the given sentence.

20