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

Sentence: 'a bathroom with a toilet and a bath tub'. Count the occurrences of the word 'a' in the given sentence.
3

Sentence: 'a man playing baseball slides into home near the catcher'. Count the occurrences of the word 'the' in the given sentence.
1

Sentence: 'a yellow truck is parked inside a garage'. Count the occurrences of the word 'a' in the given sentence.

2