TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a woman laying in a bed with messy hair'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'two teams compete at a sport in a park'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a woman holding an umbrella while walking a small white dog on a leash who is also holding an umbrella'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3