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

Q: Sentence: 'a woman is smiling next to a dog'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'a silver television a black couch a table and some ceiling fans'. How many words contain the letter 's' in the sentence.

A: 4
****
Q: Sentence: 'a baseball player stands in the batters box awaiting the pitch'. How many words contain the letter 'g' in the sentence.

A:
1
****