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

Sentence: 'five kids playing with frisbees on a sunny day'. How many words contain the letter 'p' in the sentence.
1

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

Sentence: 'an empty office with a desk macbook books and chairs'. How many words contain the letter 'z' in the sentence.

0