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 plate has a stack of pancake and a sausage'. How many words end with the letter 's' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a blackandwhite photo of a woman using a hairdryer'. How many words end with the letter 'a' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'a room filled with a large white dog and lots of food'. How many words end with the letter 'm' in the sentence.
[EX A]:
1