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: 'a gentleman playing ball with his daughter in the street'. How many words end with the letter 'a' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a brown and black cat laying in front of a mirror'. How many words end with the letter 'f' in the sentence.


Output: 1