TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a woman is petting a small horse in a field'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'young teenage boy on his skateboard on the street with people on the curb'. Count the occurrences of the word 'on' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a man in brown apron standing by various crates of fruits and vegetables'. Count the occurrences of the word 'in' in the given sentence.

SOLUTION:
1