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

Sentence: 'a smiling  woman wearing a hat holds up a snowboard'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'a man is sitting in a cubicle with a computer'. How many words contain the letter 'a' in the sentence.
4

Sentence: 'a photograph of a bathroom inside a home'. How many words contain the letter 's' in the sentence.

1