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: 'woman laying in bed on her person pad computer system'. How many words end with the letter 'r' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a cabinet in a kitchen that has been left open'. How many words end with the letter 'n' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'two men sitting in the snow with skiing gear'. How many words end with the letter 'n' in the sentence.
[EX A]:
2