TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a gray bird about to perch on a branch'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a view of a group of people standing inside  a building with umbrellas'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a group of uncooked cinnamon rolls on a pan in an oven'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2