TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
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 living room full and untidy with many household items'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man has a blue toothbrush in his mouth'. Count the occurrences of the word 'has' in the given sentence.

SOLUTION:
1