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.

Q: Sentence: 'a cat laying on top of a bag in front of a camera'. How many words end with the letter 't' in the sentence.

A: 2
****
Q: Sentence: 'an elephant wandering in front of a forest'. How many words end with the letter 'g' in the sentence.

A: 1
****
Q: Sentence: 'a close up of many oranges piled on top of each other'. How many words end with the letter 'd' in the sentence.

A:
1
****