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: 'cat standing on top of a toilet looking out the window'. How many words end with the letter 'e' in the sentence.
[A]: 1


[Q]: Sentence: 'a kitchen counter with ingredients spread over it'. How many words end with the letter 'r' in the sentence.
[A]: 2


[Q]: Sentence: 'a red car near a fire hydrant with multiple hose slots'. How many words end with the letter 'r' in the sentence.
[A]:
2