TASK DEFINITION: In this task, you need to count the occurrences of the given word in the given sentence.
PROBLEM: Sentence: 'a man and a young lady walking along the beach in the sand'. Count the occurrences of the word 'the' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a person hugging another person wearing a bow tie'. Count the occurrences of the word 'person' in the given sentence.

SOLUTION: 2

PROBLEM: Sentence: 'a menu in the middle of a fast food returant'. Count the occurrences of the word 'a' in the given sentence.

SOLUTION:
2