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: 'cat standing on top of a toilet looking out the window'. How many words end with the letter 'e' in the sentence.

Ex Output:
1


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 bird is sitting on a branch in front of a palm type tree'. How many words end with the letter 'e' in the sentence.

Ex Output:

2