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: 'an airplane parked inside an airplane hangar at night'. How many words end with the letter 'e' in the sentence.

Ex Output:
3


Ex Input:
Sentence: 'a victorian bedroom tended to be stiff and uncomfortable'. How many words end with the letter 'd' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a person who is riding a wave on a surfboard'. How many words end with the letter 'a' in the sentence.

Ex Output:

3