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 collection of pictures showing the before and after of a bathroom remodel'. How many words end with the letter 'n' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a pizza sitting on top of a cardboard box'. How many words end with the letter 'a' in the sentence.
[EX A]: 3

[EX Q]: Sentence: 'man using shear to remove wool from sheep in outdoor courtyard'. How many words end with the letter 'd' in the sentence.
[EX A]:
1