TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man wearing a white helmet is riding a red motorcycle'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a person watching television showing a big bird on the screen'. Count the occurrences of the word 'screen' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a man and a dog standing on a dirt path in the woods'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3