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

Sentence: 'a zebra is standing in the shallow water'. How many words contain the letter 't' in the sentence.
3

Sentence: 'a man on a boat pets a dog in a life jacket'. How many words contain the letter 'b' in the sentence.
1

Sentence: 'a view of two people playing tennis in a tennis court'. How many words contain the letter 'x' in the sentence.

0