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 boys sitting on a bed playing a video game'. How many words end with the letter 'o' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a bed and pillow sits next to a window'. How many words end with the letter 'a' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a black and white photo of a person riding a skate board'. How many words end with the letter 'g' in the sentence.

Ex Output:

1