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 pair of skiers stare into the trees'. How many words end with the letter 'o' in the sentence.
1

Sentence: 'several type of vegetables and greens sitting on a table'. How many words end with the letter 'g' in the sentence.
1

Sentence: 'a fire hydrant sitting among rubble from a building'. How many words end with the letter 'g' in the sentence.

3