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: 'a cat laying on its back while in a cat bed'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'a kitchen that has a shower and toilet'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'a small dog chewing on a stuffed toy resting on cushion'. How many words end with the letter 'y' in the sentence.
[A]:
1