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 clean looking bathroom is well lit and decorated'. How many words end with the letter 'g' in the sentence.
[A]: 1


[Q]: Sentence: 'a kitchen with a big dinning table inside of it'. How many words end with the letter 'g' in the sentence.
[A]:
2