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

Sentence: 'some stop lights that are at an intersection'. How many words contain the letter 'c' in the sentence.
1

Sentence: 'the facades of the buildings in the row are all the same'. How many words contain the letter 'f' in the sentence.
2

Sentence: 'green train engine and car being pushed by another engine'. How many words contain the letter 'p' in the sentence.

1