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

Example Input: Sentence: 'a row of red and blue trucks parked in a parking lot'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a hotdog with a bite taken out on a napkin'. Count the occurrences of the word 'a' in the given sentence.
Example Output: 3

Example Input: Sentence: 'a scene of the birth of jesus inside of a box'. Count the occurrences of the word 'of' in the given sentence.
Example Output:
3