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 ceiling fan a light some chairs and a stove'. How many words end with the letter 'a' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'black and white photograph with man in black tie and jacket'. How many words end with the letter 'k' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'people playing in the sand in front of some buildings'. How many words end with the letter 'e' in the sentence.


Output: 3