instruction:
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.
question:
Sentence: 'a train traveling down tracks next to trees'. How many words end with the letter 't' in the sentence.
answer:
1


question:
Sentence: 'three people walking in the snow at night time'. How many words end with the letter 't' in the sentence.
answer:
2


question:
Sentence: 'a modern living room with couches television and a bookcase'. How many words end with the letter 'g' in the sentence.
answer:

1