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

Sentence: 'a dog jumping up and catching a frisbee in its mouth'. How many words contain the letter 'r' in the sentence.
1

Sentence: 'an individual poses for a picture beside a bright window'. How many words contain the letter 'y' in the sentence.
0

Sentence: 'a no littering sign with the amount of the fine listed below'. How many words contain the letter 'p' in the sentence.

0

