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: 'signs are posted to a yellow post that say railroad crossing'. How many words end with the letter 'd' in the sentence.

A: 2
****
Q: Sentence: 'a  middle aged man in a field tossing a frisbee'. How many words end with the letter 'd' in the sentence.

A: 2
****
Q: Sentence: 'a delicious looking chocolate cake on a glass platter'. How many words end with the letter 's' in the sentence.

A:
2
****