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.

Ex Input:
Sentence: 'a man in blue and white shirt eating a dessert'. How many words end with the letter 'n' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'two boys sitting on a bed playing a video game'. How many words end with the letter 'o' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a bench sitting along the side of a building'. How many words end with the letter 'g' in the sentence.

Ex Output:

3