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

[EX Q]: Sentence: 'a girl sitting on a bench holding a flower'. How many words contain the letter 'p' in the sentence.
[EX A]: 0

[EX Q]: Sentence: 'a picture of some horses and a person in the street'. How many words contain the letter 'r' in the sentence.
[EX A]: 4

[EX Q]: Sentence: 'several elephants walking in a lake with people riding on their backs'. How many words contain the letter 'r' in the sentence.
[EX A]:
3