TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a bedroom with a bed next to a closet'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'many spoons are inside of a clear jar'. Count the occurrences of the word 'are' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'an advertisement with a male tennis player in it'. Count the occurrences of the word 'tennis' in the given sentence.

SOLUTION:
1