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

Sentence: 'a clean kitchen with several cabinets a sink a coffee maker and a vase of flowers'. How many words contain the letter 'p' in the sentence.
0

Sentence: 'a man holding an owl in a lush green field'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a stuffed animal yellow giraffe placed next to a sandwich as if the giraffe is eating it with a large body of water and grass areas in the background'. How many words contain the letter 'g' in the sentence.

6