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: 'his is a restaurant with workers preparing food'. How many words end with the letter 'a' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a small shelf in front of a mirror with an apple and cosmetics on it'. How many words end with the letter 'n' in the sentence.

Ex Output:
3


Ex Input:
Sentence: 'a giraffe is close up with puffy cheeks'. How many words end with the letter 'a' in the sentence.

Ex Output:

1