TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a horse out in a grassy green field'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a view of a sandwich with a side salad'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a boy sticking a fork into a stack of pancakes'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3