TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a person on a beach flying a kite in the sky'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a female in a blue shirt a cat and a plate'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a man and a woman riding a motorcycle next to a crowd'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
4