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: 'a public bathroom with four toilet stalls and four urinals on the wall'. Count the occurrences of the word 'four' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a young boy wearing a catchers mitt with a baseball in it'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3