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 man in blue and white shirt eating a dessert'. How many words end with the letter 'n' in the sentence.
[EX A]: 2

[EX Q]: Sentence: 'the man wearing a hat and sun glasses is sitting under an umbrella'. How many words end with the letter 'd' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'the woman in the grey cap sits with plastic in her lap'. How many words end with the letter 'r' in the sentence.
[EX A]:
1