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 bride and a kiltwearing groom cutting their wedding cake together'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a snowboarder buried up to his waste in snow'. How many words end with the letter 'o' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a group of people on skis on a snowy slope'. How many words end with the letter 'n' in the sentence.
[EX A]:
2

