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

Sentence: 'an acoustic guitar is shown laying on a bed'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'a living room with couches chairs and tables'. How many words contain the letter 'a' in the sentence.
4

Sentence: 'a bowl containing soup made up of broccoli red onions cauliflower and scallions'. How many words contain the letter 'x' in the sentence.

0