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

Sentence: 'a photograph of a restroom toilet in front of tiles'. How many words contain the letter 'c' in the sentence.
0

Sentence: 'a man sleeping on a park bench then a woman looks at another man with a newspaper over his face on another park bench'. How many words contain the letter 't' in the sentence.
5

Sentence: 'a lap top cover on a desk in a room with digital lights'. How many words contain the letter 'g' in the sentence.

2