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: 'the sheep are grazing  in the pasture'. How many words end with the letter 'p' 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: 'a tiny cramped bathroom with a toilet and bathtub and shower'. How many words end with the letter 'd' in the sentence.
[EX A]:
3