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 yellow train traveling towards a train station'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a couple of giraffe standing next to a forest'. How many words end with the letter 'g' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a mug with a small teddy bear standing next to it and boxes of teddys cookies'. How many words end with the letter 'y' in the sentence.


Output: 1