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

Sentence: 'a street scene with cars and an city bus'. How many words contain the letter 's' in the sentence.
4

Sentence: 'a man and a woman sitting in the backseat as the woman talks on a cell phone'. How many words contain the letter 's' in the sentence.
4

Sentence: 'there is some type of pie inside of a frying pan'. How many words contain the letter 'g' in the sentence.

1