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 black car is near someone riding a bike'. How many words end with the letter 'e' in the sentence.

Output: 2


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: 'dog standing in sink ready to be bathed in kitchen'. How many words end with the letter 'g' in the sentence.


Output: 2