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

Sentence: 'a giraffe walking in the grass near a building'. How many words contain the letter 'd' in the sentence.
1

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

Sentence: 'there are four remotes that are attached with velcro to a television'. How many words contain the letter 'm' in the sentence.

1