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

Sentence: 'a car stopped at a red light at an intersection'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'cars parked on the side of the road beside a fire hydrant'. How many words contain the letter 'p' in the sentence.
1

Sentence: 'people riding skate boards in an obstacle course on a street'. How many words contain the letter 'i' in the sentence.

2