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: 'people holding a surfboard and walking down the beach'. How many words contain the letter 'n' in the sentence.
4

Sentence: 'a woman is looking at sheep off in a field'. How many words contain the letter 'u' in the sentence.

0