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

Q: Sentence: 'a person eating a slice of pizza on a table'. How many words contain the letter 'z' in the sentence.

A: 1
****
Q: Sentence: 'two males and a drink a laptop and a cellphone'. How many words contain the letter 'b' in the sentence.

A: 0
****
Q: Sentence: 'a person standing in front of a street sign'. How many words contain the letter 'i' in the sentence.

A:
3
****