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: 'several cows standing in the grass by a tree'. How many words end with the letter 'n' in the sentence.

Ex Output:
1


Ex Input:
Sentence: 'a giraffe stands in front of a big tree'. How many words end with the letter 'e' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a person and a horse share a recreational site on a sandy beach'. How many words end with the letter 'a' in the sentence.

Ex Output:

4