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 unique black and white bathroom that is very clean'. How many words end with the letter 'm' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'many people are outside celebrating on a sunny day'. How many words end with the letter 'n' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a couple of small beds and mirror in a room'. How many words end with the letter 'a' in the sentence.


Output: 2