In this task, you need to count the occurrences of the given word in the given sentence.

Input: Consider Input: Sentence: 'an image of two people playing a video game'. Count the occurrences of the word 'people' in the given sentence.

Output: 1

Input: Consider Input: Sentence: 'blue flowers with green stems next to white flowers in a vase'. Count the occurrences of the word 'flowers' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a child laying on a bed with his head hanging up side down and a teddy bear leaning against the bed'. Count the occurrences of the word 'bed' in the given sentence.
Output: 2