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

Q: Sentence: 'adults with helmets sitting on tricycles made for children'. How many words contain the letter 'r' in the sentence.

A: 3
****
Q: Sentence: 'some girls on a soccer field playing soccer'. How many words contain the letter 'j' in the sentence.

A: 0
****
Q: Sentence: 'an old propellar airplane is in a state of disrepair'. How many words contain the letter 'o' in the sentence.

A:
3
****