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 line of portable toilets stands outdoors under trees'. How many words contain the letter 'l' in the sentence.
3

Sentence: 'a room with a desk rug chair and laptop'. How many words contain the letter 's' in the sentence.

1