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 train traveling down tracks next to trees'. How many words end with the letter 't' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'cakes sitting on cardboard on display on a shelf'. How many words end with the letter 'n' in the sentence.

Ex Output:
3


Ex Input:
Sentence: 'some baseball players are playing baseball on a field'. How many words end with the letter 'n' in the sentence.

Ex Output:

1