TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a surfer wearing a green shirt holds his surf board and looks out at the boats in the ocean'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a person sitting down in front of a couch'. Count the occurrences of the word 'in' in the given sentence.

SOLUTION: 1

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