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 cactus in a pot next to a black fence'. How many words end with the letter 'a' in the sentence.

Answer: 3


Question: Sentence: 'a dog running behind three sheep in an open field'. How many words end with the letter 'n' in the sentence.

Answer: 3


Question: Sentence: 'two cats curled up sleeping on a beige bedspread'. How many words end with the letter 'g' in the sentence.

Answer:
1