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.

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

Sentence: 'a yellow sign pointing in both direction mounted to a wall under a window'. How many words end with the letter 'o' in the sentence.
1

Sentence: 'a green bag sitting on top of a table'. How many words end with the letter 'a' in the sentence.

2