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 woman cutting into a cake with a man standing behind her'. How many words end with the letter 'a' in the sentence.
3

Sentence: 'in the window you can see a reflection of the sea and beautiful buildings'. How many words end with the letter 'f' in the sentence.

1