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 top of a couch on its side'. How many words end with the letter 's' in the sentence.
[A]: 1


[Q]: Sentence: 'there is a young male surfer riding a wave'. How many words end with the letter 'e' in the sentence.
[A]: 3


[Q]: Sentence: 'a chair with a pillow a mirror on the wall and a set of curtains'. How many words end with the letter 'n' in the sentence.
[A]:
1