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.

[Q]: Sentence: 'a person that is riding on a horse in a grass field'. How many words end with the letter 'a' in the sentence.
[A]: 3


[Q]: Sentence: 'two teddy bears in a windowsill with a small kitten looking at them'. How many words end with the letter 'a' in the sentence.
[A]: 2


[Q]: Sentence: 'five bagels are sitting on a silver tray'. How many words end with the letter 'r' in the sentence.
[A]:
1