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.

[EX Q]: Sentence: 'the man is swinging the tennis racket at the ball'. How many words end with the letter 'e' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a pizza sitting on top of a cardboard box'. How many words end with the letter 'a' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a line of police motorcycles line a city street'. How many words end with the letter 'y' in the sentence.
[EX A]:
1