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 beautiful little blond girl using a smart phone'. How many words end with the letter 'l' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a white cat stretches out on a bed'. How many words end with the letter 't' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'an orange dog and a white dog laying on a bed'. How many words end with the letter 'g' in the sentence.

Ex Output:

3