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: 'the double decker bus driving by a palce'. How many words end with the letter 'e' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'a black piece of luggage laid down with a camera and gloves on the top of it'. How many words end with the letter 'p' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a herd of elephants grazing in a field'. How many words end with the letter 'g' in the sentence.


Output: 1