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: 'the young girl is trying to prepare a meal in the kitchen'. How many words end with the letter 'o' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a woman cuts a little girls long blonde hair'. How many words end with the letter 'e' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a boxer is sleeping on a large plaid dog bed'. How many words end with the letter 'r' in the sentence.

Ex Output:

1