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 brown and white cow wearing a bell around its neck near a restaurant'. How many words end with the letter 'd' in the sentence.

Answer: 2


Question: Sentence: 'people are riding horses through a parking lot'. How many words end with the letter 'g' in the sentence.

Answer: 2


Question: Sentence: 'a man is riding a wave on a surfboard in a wet suit'. How many words end with the letter 'a' in the sentence.

Answer:
4