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 snowboarder buried up to his waste in snow'. How many words end with the letter 'o' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a plate that has food on it a fork'. How many words end with the letter 'a' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a church with a camper shell and a motorcycle sitting outside it'. How many words end with the letter 'r' in the sentence.

Ex Output:

1