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 closeup of a stack of mail on a desk'. How many words end with the letter 'p' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a young man riding a skateboard down a sidewalk'. How many words end with the letter 'd' in the sentence.
[EX A]: 1

[EX Q]: Sentence: 'a man in blue shirt laying on sidewalk by a fire hydrant'. How many words end with the letter 'g' in the sentence.
[EX A]:
1