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

Sentence: 'there is a person awaiting to cross this street'. How many words contain the letter 'a' in the sentence.
2

Sentence: 'a water fountain sitting in the middle of a bathroom'. How many words contain the letter 'h' in the sentence.
2

Sentence: 'a person riding a wave on a surfboard in the ocean'. How many words contain the letter 'b' in the sentence.

1