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

Sentence: 'an airplane in the sky trailing condensation'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'a silver television a black couch a table and some ceiling fans'. How many words contain the letter 's' in the sentence.
4

Sentence: 'a bathroom has blue walls and a large mirror'. How many words contain the letter 'o' in the sentence.

2