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 group of people are standing outside while one holds an open umbrella'. How many words end with the letter 'n' in the sentence.
2

Sentence: 'people are riding horses through a parking lot'. How many words end with the letter 'g' in the sentence.
2

Sentence: 'two men standing on a boat in the water'. How many words end with the letter 'o' in the sentence.

1