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: 'the boy is sitting on a coach holding on to a remote'. How many words end with the letter 'a' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a man and woman on a horse carriage riding down the street'. How many words end with the letter 'n' in the sentence.

Ex Output:
4


Ex Input:
Sentence: 'a young woman is partially dressed and laying across a bed'. How many words end with the letter 'g' in the sentence.

Ex Output:

2