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: 'a bakery with a display tray of cupcakes decorated and labeled'. How many words end with the letter 'y' in the sentence.

Ex Output:
3


Ex Input:
Sentence: 'a turkey and vegetables cooking in an oven with a glass window on the door'. How many words end with the letter 'a' in the sentence.

Ex Output:
2


Ex Input:
Sentence: 'a cat laying on a floor with its arms wrapped around a shoe'. How many words end with the letter 'r' in the sentence.

Ex Output:

1