TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a bathroom with a toilet and a bath tub'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a single lone cup of coffee sitting on a black park bench'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a woman sits with a bicycle on a park bench'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3