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: 'two men playing a spinning frisbee freestyle in the park'. How many words end with the letter 'o' in the sentence.

Answer: 1


Question: Sentence: 'a man in a white shirt repairing a toilet in a white bathroom'. How many words end with the letter 'g' in the sentence.

Answer: 1


Question: Sentence: 'a brown dog standing on top of a lush green yard'. How many words end with the letter 'g' in the sentence.

Answer:
2