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: 'the man is drinking from a wine glass'. How many words end with the letter 's' in the sentence.
[A]: 2


[Q]: Sentence: 'a person is windsurfing on the water near houses'. How many words end with the letter 'n' in the sentence.
[A]: 2


[Q]: Sentence: 'a small white boat next to a dock in the water'. How many words end with the letter 'r' in the sentence.
[A]:
1