instruction:
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.
question:
Sentence: 'several jockeys ride their horses in a horse race'. How many words end with the letter 'r' in the sentence.
answer:
1


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


question:
Sentence: 'four boats with mast are sailing in the still river'. How many words end with the letter 'r' in the sentence.
answer:

2