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

Sentence: 'a stop sign that has been spray painted'. How many words contain the letter 'o' in the sentence.
1

Sentence: 'a man rides a black motorcycle around a curve'. How many words contain the letter 'y' in the sentence.
1

Sentence: 'a empty restroom with a white toilet and a sink'. How many words contain the letter 'b' in the sentence.

0