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 teddy bear is sitting on a wooden chair'. How many words end with the letter 'a' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'chocolate iced donuts with sprinkles are on a tray'. How many words end with the letter 's' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a dog that is catching a frisbee in the air'. How many words end with the letter 'e' in the sentence.


Output: 2