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

Sentence: 'a group of people on a beach beneath a cloudy sky'. How many words contain the letter 'g' in the sentence.
1

Sentence: 'pieces of food sit on the plate the man is holding'. How many words contain the letter 'o' in the sentence.
4

Sentence: 'six lane highway with moderate traffic running through a city'. How many words contain the letter 'j' in the sentence.

0