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 victorian bedroom tended to be stiff and uncomfortable'. How many words end with the letter 'd' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'an empty restaurant  adorns many classical elements'. How many words end with the letter 'y' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a close up picture of a flower with water drops on it'. How many words end with the letter 'h' in the sentence.


Output: 1