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

Sentence: 'watchful raptor standing on one foot on a rock pile'. How many words contain the letter 'r' in the sentence.
2

Sentence: 'a clothing line with teddy bears hung by their ears'. How many words contain the letter 'n' in the sentence.
3

Sentence: 'us navy members are lining up at a buffet'. How many words contain the letter 'b' in the sentence.

2