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: 'several type of vegetables and greens sitting on a table'. How many words end with the letter 'g' in the sentence.
1

Sentence: 'a man blowing out some candles on a cake'. How many words end with the letter 'a' in the sentence.
2

Sentence: 'two people looking for  the their height'. How many words end with the letter 'g' in the sentence.

1