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: 'there is a young male surfer riding a wave'. How many words end with the letter 'e' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'the young girl is trying to prepare a meal in the kitchen'. How many words end with the letter 'o' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a picture of a well made bed in someones bedroom'. How many words end with the letter 'd' in the sentence.


Output: 1