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

Example Input: Sentence: 'one man playing the wii by his lonesome'. Count the occurrences of the word 'by' in the given sentence.
Example Output: 1

Example Input: Sentence: 'a hotdog french fries coffee and a packet of ketchup and mustard sitting on a tray'. Count the occurrences of the word 'and' in the given sentence.
Example Output: 2

Example Input: Sentence: 'a guy sits on a motorbike while another fixes it'. Count the occurrences of the word 'while' in the given sentence.
Example Output:
1