TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a group of four surfboards laying on top of a beach'. Count the occurrences of the word 'top' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a furry dog standing next to a fire hydrant'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'there is a tower that has a american flag at the top and a clock on it'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3