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 yellow and blue fire hydrant by the curb'. How many words end with the letter 'e' in the sentence.

Output: 3


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: 'man sitting on his bed while using his laptop'. How many words end with the letter 'p' in the sentence.


Output: 1