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 white and gray cat is in a bathroom sink'. How many words end with the letter 'm' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'several type of vegetables and greens sitting on a table'. How many words end with the letter 'g' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'man eating a donut that is dangling from a string'. How many words end with the letter 's' in the sentence.


Output: 1