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: 'two men playing a spinning frisbee freestyle in the park'. How many words end with the letter 'o' in the sentence.

Ex Output:
1


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: 'a young girl is laying on a doggie bed'. How many words end with the letter 'a' in the sentence.

Ex Output:

2