TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a baseball player holding a bat while playing a game'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a cake with a missing slice on a floral plate two bowls of fruit and a hand of bananas'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 4

PROBLEM: Sentence: 'a desktop computers sitting on a desk next to a laptop'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3