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 train on the tracks under a bridge'. How many words end with the letter 'e' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a line of motorcycles arriving at an outdoor event'. How many words end with the letter 'e' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a cat that is standing on a ledge looking at a plate'. How many words end with the letter 'g' in the sentence.


Output: 2