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

Input: Consider Input: Sentence: 'a picture of a medical exam room with a bed and chair'. Count the occurrences of the word 'a' in the given sentence.

Output: 3

Input: Consider Input: Sentence: 'a public bathroom with four toilet stalls and four urinals on the wall'. Count the occurrences of the word 'four' in the given sentence.

Output: 2

Input: Consider Input: Sentence: 'a table with a blue and white checkered cloth that has condiments and a coffee mug placed on it and a view of a waterway and boats behind it'. Count the occurrences of the word 'and' in the given sentence.
Output: 4