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: 'woman laying in bed on her person pad computer system'. How many words end with the letter 'r' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a white and gray cat is in a bathroom sink'. How many words end with the letter 'm' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'people are waiting to get on a bus in london'. How many words end with the letter 'e' in the sentence.

Ex Output:

2