TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'the airplane is flying high in the cloudless sky'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a group of women sitting at a table near a window'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a red blue and yellow bus and a green and white bus and some people'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2