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: 'a man in a white shirt repairing a toilet in a white bathroom'. How many words end with the letter 'g' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'young man in catchers gear playing baseball on a sunny day'. How many words end with the letter 'y' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'an asian man playing in a tennis match'. How many words end with the letter 'a' in the sentence.
[EX A]:
1