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 pizza sitting on top of a white plate'. How many words end with the letter 'a' in the sentence.
3

Sentence: 'three brown fourlegged animals with horns grazing in the pasture'. How many words end with the letter 'e' in the sentence.
3

Sentence: 'a large kite hanging on the outside of a building'. How many words end with the letter 'g' in the sentence.

2