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

Sentence: 'a persons desk with a computer and many books in a case behind it'. How many words contain the letter 'd' in the sentence.
3

Sentence: 'some soldiers cutting into a big sheet cake on a table'. How many words contain the letter 'c' in the sentence.
2

Sentence: 'a man with two tennis balls and a racket on a tennis court'. How many words contain the letter 'z' in the sentence.

0