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

Sentence: 'a green and white street sign on a pole and a light'. How many words contain the letter 's' in the sentence.
2

Sentence: 'a computer desk holding a laptop computer and white ceramic lamp'. How many words contain the letter 'r' in the sentence.
3

Sentence: 'a shower toilet and sink are highlights in this clean bathroom'. How many words contain the letter 'x' in the sentence.

0