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: 'the black horse is standing on the top of the hill'. How many words end with the letter 'f' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a number of giraffes in a field near many trees'. How many words end with the letter 'r' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a wet window has a drawing on it'. How many words end with the letter 'w' in the sentence.


Output: 1