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 comical frowning faced sculpture sits atop a surfboard next to a frowning man'. Count the occurrences of the word 'frowning' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a lady on a court with a racket'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
3