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

Sentence: 'a pair of feet wearing slippers pointed at the floor'. How many words contain the letter 'e' in the sentence.
5

Sentence: 'the two ladies was sitting  on the sofa'. How many words contain the letter 'l' in the sentence.
1

Sentence: 'a group of people skateboarding and rollerblading in a street'. How many words contain the letter 'r' in the sentence.

4