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

Sentence: 'a group of people cooking pancakes in the field'. How many words contain the letter 'g' in the sentence.
2

Sentence: 'there are trains that are on the train track'. How many words contain the letter 'z' in the sentence.
0

Sentence: 'a stop sign at the end of a narrow alleyway'. How many words contain the letter 'i' in the sentence.

1