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 beach with many people and colorful tents on it'. How many words end with the letter 'd' in the sentence.

Answer: 1


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 boy on a skateboard is jumping over a red obstacle'. How many words end with the letter 'r' in the sentence.

Answer:
1