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


[Q]: Sentence: 'a shiny elephant is walking through dirt piles'. How many words end with the letter 'h' in the sentence.
[A]: 1


[Q]: Sentence: 'a bed with a white canopy and curtains'. How many words end with the letter 'd' in the sentence.
[A]:
2