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: 'an elephant wandering in front of a forest'. How many words end with the letter 'g' in the sentence.
1

Sentence: 'a brown cow walking down a sidewalk near a forest'. How many words end with the letter 'w' in the sentence.
1

Sentence: 'an image of a laptop on a computer desk area'. How many words end with the letter 'a' in the sentence.

3