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

Sentence: 'a white biplane on grassy area next to buildings'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'a herd of giraffe grazing from a feeder'. How many words contain the letter 'h' in the sentence.
1

Sentence: 'the horse splashes through a watercovered track as the jockey smiles deviously'. How many words contain the letter 'h' in the sentence.

5