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 glass table with a plate of bar cookies a potted plant and a vase filled with chocolate eggs'. How many words end with the letter 't' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a row of boats parked next to a shore on a lake'. How many words end with the letter 't' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a brown table topped with omelets and other foods'. How many words end with the letter 'd' in the sentence.

Ex Output:

2