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

[EX Q]: Sentence: 'a boy is riding a skateboard off of a ramp'. How many words end with the letter 's' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'pack of five sheep sleeping on a snowy day'. How many words end with the letter 'y' in the sentence.
[EX A]:
2