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 messy bed sitting under a lit up ceiling fan'. How many words end with the letter 'n' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a picture of a large kite in the dessert'. How many words end with the letter 'n' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a group of horses graze in a field'. How many words end with the letter 'd' in the sentence.
[EX A]:
1