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

Sentence: 'a toilet and long handled plunger in a cleaned bathroom'. How many words contain the letter 'i' in the sentence.
2

Sentence: 'dental personnel in dentist office standing in front of a computer screen'. How many words contain the letter 'w' in the sentence.
0

Sentence: 'a train bellowing smoke from its stack in the forest'. How many words contain the letter 'r' in the sentence.

3