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

Sentence: 'there are some warning signs on a public toilet'. How many words contain the letter 'a' in the sentence.
3

Sentence: 'a girl sitting on a bench holding a flower'. How many words contain the letter 'p' in the sentence.
0

Sentence: 'three surfers stand in shallow water with their boards'. How many words contain the letter 'e' in the sentence.

4