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 snowboarder on the ground after a fall'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a dishwasher stove and over combination with an extension plug resting on the stove surface'. How many words end with the letter 'n' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'a black bear that is standing next to water'. How many words end with the letter 'r' in the sentence.
[EX A]:
2