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.

[Q]: Sentence: 'a group of people walking down a sidewalk past a parking meter'. How many words end with the letter 'g' in the sentence.
[A]: 2


[Q]: Sentence: 'a toilet sitting in a stall on tile'. How many words end with the letter 'l' in the sentence.
[A]: 1


[Q]: Sentence: 'a ski patrol transporting an injured skier through deep snow'. How many words end with the letter 'd' in the sentence.
[A]:
1