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 man wearing a hat and sun glasses is sitting under an umbrella'. How many words end with the letter 'd' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a brown and white cow wearing a bell around its neck near a restaurant'. How many words end with the letter 'd' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'the lunch is laid out on the table for someone to eat'. How many words end with the letter 't' in the sentence.

Ex Output:

2