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

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

Sentence: 'a stir fry consisting of rice broccoli and other vegetables'. How many words contain the letter 'e' in the sentence.
3

Sentence: 'a collection of fruit and vegetables sitting on a table'. How many words contain the letter 'p' in the sentence.

0