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: 'three people that are looking at a monitor on the left side of the photo'. How many words contain the letter 'd' in the sentence.
1

Sentence: 'a tennis player gets ready to hit a serve'. How many words contain the letter 'g' in the sentence.

1