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 wild bear walking over some logs in the forest'. How many words end with the letter 'n' in the sentence.
answer:
1


question:
Sentence: 'a white and gray cat is in a bathroom sink'. How many words end with the letter 'm' in the sentence.
answer:
1


question:
Sentence: 'man showing off his new tie at a party'. How many words end with the letter 'y' in the sentence.
answer:

1