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: 'three giraffes two of which are laying on the ground'. How many words end with the letter 'n' in the sentence.

A: 1
****
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: 'an elephant is walking past a herd of water buffalo drinking from a lake'. How many words end with the letter 'g' in the sentence.

A:
2
****