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

Sentence: 'an old motorcycle with the seat missing parked in a garage with other parts and motorcycles'. How many words contain the letter 'r' in the sentence.
6

Sentence: 'a group of giraffes walk across an open area'. How many words contain the letter 'm' in the sentence.
0

Sentence: 'there are many birds flying near the boat'. How many words contain the letter 'j' in the sentence.

0