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

Sentence: 'a basket that is full of fruits and vegetables'. How many words contain the letter 'v' in the sentence.
1

Sentence: 'the beach has six open umbrellas on poles'. How many words contain the letter 'g' in the sentence.
0

Sentence: 'a pair of zebra outdoors in a savannah'. How many words contain the letter 'g' in the sentence.

0