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.

Sentence: 'a guy on a surf board riding the waves in the ocean'. How many words end with the letter 'g' in the sentence.
1

Sentence: 'cakes sitting on cardboard on display on a shelf'. How many words end with the letter 'n' in the sentence.
3

Sentence: 'hot dogs sitting on an red tray next to french fries'. How many words end with the letter 'h' in the sentence.

1