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 close up of a blue and yellow train at a platform'. How many words end with the letter 'd' in the sentence.

A: 1
****
Q: Sentence: 'a line of motorcycles arriving at an outdoor event'. How many words end with the letter 'e' in the sentence.

A: 1
****
Q: Sentence: 'a man in a black hat holding a young boy with an orange frisbee'. How many words end with the letter 'g' in the sentence.

A:
2
****