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: 'many different dishes layed for people to try'. How many words end with the letter 'y' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'there is a zebra standing in the shade of a tree'. How many words end with the letter 'e' in the sentence.

Output: 4


Input: Consider Input: Sentence: 'a woman with blonde hair and a checkerd jacket and a black tie on'. How many words end with the letter 'd' in the sentence.


Output: 3