In this task, you need to count the number of words in a sentence that end with the given letter. Answer with numbers and not words.

Sentence: 'a couple of police officers stand on a street corner'. How many words end with the letter 'e' in the sentence.
2

Sentence: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.
1

Sentence: 'a baseball player sitting on a bench in the dugout with two boys pouring a drink on his head from above'. How many words end with the letter 'a' in the sentence.

3