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 game controller with a grip cover on it'. How many words end with the letter 'h' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'there are three people riding a trolly up a snow mountain'. How many words end with the letter 'e' in the sentence.

Output: 4


Input: Consider Input: Sentence: 'a bird is perched on top of a branch with many leaves'. How many words end with the letter 'a' in the sentence.


Output: 2