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: 'a bakery with a display tray of cupcakes decorated and labeled'. How many words end with the letter 'y' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'two smart phones sit side by side both are turned on'. How many words end with the letter 'e' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'food truck on roadway near pedestrian in city'. How many words end with the letter 'y' in the sentence.


Output: 2