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 group of young boys wearing baseball uniforms holding up a trophy'. How many words end with the letter 'a' in the sentence.

A: 2
****
Q: Sentence: 'looking out from the ruins of a building to dogs in a courtyard'. How many words end with the letter 'm' in the sentence.

A: 1
****
Q: Sentence: 'a red and yellow train traveling through a small town'. How many words end with the letter 'g' in the sentence.

A:
1
****