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 male tennis player getting ready to server the ball'. How many words end with the letter 'o' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a person sitting in a chair in a store'. How many words end with the letter 'n' in the sentence.

Ex Output:
3


Ex Input:
Sentence: 'a man sitting in a bed next to a table'. How many words end with the letter 'g' in the sentence.

Ex Output:

1