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 forked road with some trees and buildings'. How many words end with the letter 'd' in the sentence.

Answer: 3


Question: Sentence: 'a man and woman happily hug near a river'. How many words end with the letter 'y' in the sentence.

Answer: 1


Question: Sentence: 'a young girl stands on a refrigerator and smiles'. How many words end with the letter 'g' in the sentence.

Answer:
1