In this task, you need to count the number of words in a sentence that contain the given letter

Sentence: 'horses standing and laying down in the grass on a hill above a lake'. How many words contain the letter 'g' in the sentence.
3

Sentence: 'a young girl plays tennis in a court with grass in the cracks'. How many words contain the letter 'w' in the sentence.
1

Sentence: 'the sleek fighter jet is flying sideways through the air'. How many words contain the letter 'n' in the sentence.

1

