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 paper with a cookie on it as well as a marker'. How many words end with the letter 'r' in the sentence.

Ex Output:
2

Ex Input:
Sentence: 'a gross dirty toilet in a unmaintained bathroom'. How many words end with the letter 't' in the sentence.

Ex Output:
1

Ex Input:
Sentence: 'a very big pretty beach with some sails in the air'. How many words end with the letter 'r' in the sentence.

Ex Output:
1