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: 'group of skiers posing for a picture with snow mountains behind them'. How many words end with the letter 'w' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'two women standing near a couch with remotes in their hands'. How many words end with the letter 'n' in the sentence.

Ex Output:

2