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.

Input: Consider Input: Sentence: 'two giraffes stand near a tree one giraffe has its face up to the trunk'. How many words end with the letter 's' in the sentence.

Output: 3


Input: Consider Input: Sentence: 'a white cat stretches out on a bed'. How many words end with the letter 't' in the sentence.

Output: 2


Input: Consider Input: Sentence: 'a train thats coming up to a train station for people to get on'. How many words end with the letter 't' in the sentence.


Output: 1