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

Q: Sentence: 'a small child next to a bunch of bananas and an orange'. How many words contain the letter 'p' in the sentence.

A: 0
****
Q: Sentence: 'a plate with a grilled sanwich next to a bowl of tomato soup'. How many words contain the letter 'a' in the sentence.

A: 6
****
Q: Sentence: 'two zebras are eating hay in front of a fence'. How many words contain the letter 'g' in the sentence.

A:
1
****