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

Q: Sentence: 'horses standing and laying down in the grass on a hill above a lake'. How many words contain the letter 'g' in the sentence.

A: 3
****
Q: Sentence: 'a kitchen that is very nice and clean'. How many words contain the letter 't' in the sentence.

A: 2
****
Q: Sentence: 'a bunch of kids playing soccer is having a lot of fun'. How many words contain the letter 'z' in the sentence.

A:
0
****