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 hand is holding a pack of japanese donuts'. How many words end with the letter 's' in the sentence.

Answer: 2


Question: Sentence: 'an empty restaurant  adorns many classical elements'. How many words end with the letter 'y' in the sentence.

Answer: 2


Question: Sentence: 'someone riding a wave on a surfboard'. How many words end with the letter 'g' in the sentence.

Answer:
1