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 sheep are grazing  in the pasture'. How many words end with the letter 'p' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'a group of people are walking in the city with umbrellas'. How many words end with the letter 'h' in the sentence.

Output: 1


Input: Consider Input: Sentence: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.


Output: 1