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 batter is taking a swing at the ball'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'the side of a chartered bus painted with a red horse'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'two women lying undercovers with heads on pillows in bed with a cat sitting with eyes closed while one of the women pats its head'. How many words end with the letter 'e' in the sentence.


Output: 3