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: 'his is a restaurant with workers preparing food'. How many words end with the letter 'a' 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

[EX Q]: Sentence: 'middle aged man in a white tee shirt holding a toddler'. How many words end with the letter 'd' in the sentence.
[EX A]:
1