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 old picture of workers building the railroad'. How many words end with the letter 'd' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'the man wearing a hat and sun glasses is sitting under an umbrella'. How many words end with the letter 'd' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'five people wearing skis and snowboards on the top of a mountain'. How many words end with the letter 'e' in the sentence.


Output: 3