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

Sentence: 'a group of people cooking pancakes in the field'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'adult men playing with flying disc at popular beach'. How many words contain the letter 'o' in the sentence.
1

Sentence: 'a little girl is standing amongst a group of birds'. How many words contain the letter 's' in the sentence.

4