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 male tennis player in a yellow shirt is playing tennis'. How many words end with the letter 's' in the sentence.

Answer: 3


Question: Sentence: 'a man riding a bike in a city at night'. How many words end with the letter 'g' in the sentence.

Answer: 1


Question: Sentence: 'a woman running to hit a tennis ball with a racket'. How many words end with the letter 'g' in the sentence.

Answer:
1