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 man surfing a wave with both hands in the air'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a stuffed large cat sits on the desk in a dark room'. How many words end with the letter 'e' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'the bearded man is standing by the truck with the american flags'. How many words end with the letter 'e' in the sentence.


Output: 3