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

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.
3

Sentence: 'the laptop is disassembled with the parts piled on the outer shell'. How many words contain the letter 'v' in the sentence.
0

Sentence: 'a series of two photos showing people standing on a tennis court'. How many words contain the letter 'r' in the sentence.
2