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

Sentence: 'a girl sitting on a bench holding a flower'. How many words contain the letter 'p' in the sentence.
0

Sentence: 'a silver truck a street a person and buildings'. How many words contain the letter 'l' in the sentence.
2

Sentence: 'a giraffe crossing a dirt road with a small fallen tree on the side of it'. How many words contain the letter 'b' in the sentence.
0