TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a motorcycle rider on a red bike some dirt and a sign'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION: 3

PROBLEM: Sentence: 'a man with a racket leaps in the air to hit a ball'. Count the occurrences of the word 'racket' in the given sentence.

SOLUTION: 1

PROBLEM: Sentence: 'a tennis player is shown here with his arm in the air and tennis on the other hand'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION:
2