TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'the person is taking a picture in the mirror while riding in the car'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a bowl of soup on a white table in front of vegetables'. Count the occurrences of the word 'of' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a close view of a pizza with sausage cheese and sauce on it'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2