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 man and boy laying in two separate small beds'. How many words end with the letter 'n' in the sentence.

Answer: 2


Question: Sentence: 'a black bear eating a carrot on top of rocks'. How many words end with the letter 'r' in the sentence.

Answer: 1


Question: Sentence: 'a tennis player is getting ready to hit the ball with his racquet'. How many words end with the letter 'r' in the sentence.

Answer:
1