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: 'two men wearing ties and dress pants stand in front of a doorway'. How many words end with the letter 'g' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a group of horses standing and laying in a grassy field'. How many words end with the letter 'f' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a suitcase is packed with a fuzzy yellow monkey and a dollar bill on top'. How many words end with the letter 'y' in the sentence.

Ex Output:

2