TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a little girl holds a tooth brush while her mother stands in the background in a bathroom'. Count the occurrences of the word 'while' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'there is a man drinking whine from a glass'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a photo of a cat laying on a suit case'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3