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: 'a white cat stretches out on a bed'. How many words end with the letter 't' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'a wine bottle and two glasses on a counter'. How many words end with the letter 's' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a bathroom has exposed parts is dirty and has graffiti'. How many words end with the letter 'd' in the sentence.
[EX A]:
2