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

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

A: 4
****
Q: Sentence: 'two cakes on a table with a piece missing out of one'. How many words contain the letter 'h' in the sentence.

A: 1
****
Q: Sentence: 'an airplane in the sky trailing condensation'. How many words contain the letter 'p' in the sentence.

A:
1
****