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.

Input: Consider Input: Sentence: 'a large herd of elephant wading in a dirty river'. How many words end with the letter 'r' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'two boys sitting on a bed playing a video game'. How many words end with the letter 'o' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'benches sitting near one another in a dimly lit area'. How many words end with the letter 'r' in the sentence.


Output: 2