TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a black train is on a train track near some foothills'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'two women walking down a street holding an umbrella'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a living room filled with furniture and a purple couch under a window'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3