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 woman on the beach tries to catch a frisbee'. How many words end with the letter 'e' in the sentence.

Answer: 2


Question: Sentence: 'a batter is getting ready to hit the baseball'. How many words end with the letter 'y' in the sentence.

Answer: 1


Question: Sentence: 'an assortment of cookies displayed on a white rectangle plate'. How many words end with the letter 'd' in the sentence.

Answer:
1