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

Sentence: 'a parked blue and white motorcycle with a black seat'. How many words contain the letter 'd' in the sentence.
2

Sentence: 'a man that is sitting on a horse in the grass'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a giraffe standing behind a tree with tall grass and trees in the background'. How many words contain the letter 'q' in the sentence.

0