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: 'the man is drinking from a wine glass'. How many words end with the letter 's' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'young adults playing with flying disc at indoor gymnasium'. How many words end with the letter 'm' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'small top freezer two door stainless steel refrigerator'. How many words end with the letter 'r' in the sentence.


Output: 3