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: 'boat moving out on water with light house at end of wharf'. How many words end with the letter 'f' in the sentence.
2

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: 'a person wearing a hat is in the snow on skis'. How many words end with the letter 's' in the sentence.

2