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 brown cow walking down a sidewalk near a forest'. How many words end with the letter 'w' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'zebra eating grass in a field caged in silver fence'. How many words end with the letter 'd' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'three elephants standing on sandy ground near water'. How many words end with the letter 'd' in the sentence.

Ex Output:

1