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: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'the kitchen is full of various gourmet ingredients ingredients'. How many words end with the letter 'f' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'the bathroom has been ravaged and damaged on the inside'. How many words end with the letter 'm' in the sentence.


Output: 1