TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a pizza with sauce and very little cheese arranged on a table'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a man standing on some rocks holding a surfboard'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a dog stands beneath a table as a woman has coffee at the table'. Count the occurrences of the word 'has' in the given sentence.

SOLUTION:
1