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: 'black and white photograph with man in black tie and jacket'. How many words end with the letter 'k' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a black suitcase with handles to help when rolling it around'. How many words end with the letter 'e' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a woman and man riding on the back of an elephant along a river'. How many words end with the letter 'n' in the sentence.


Output: 4