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: 'a person holding up a smart phone in front of a singer'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a propeller plane that is parked in a hanger'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2