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 male tennis player in a yellow shirt is playing tennis'. How many words end with the letter 's' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a number of giraffes in a field near many trees'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a cat that has something on their head'. How many words end with the letter 't' in the sentence.
[EX A]:
2