Definition: In this task, you need to count the occurrences of the given word in the given sentence.
Input: Sentence: 'two elderly ladies in a house with a dog'. Count the occurrences of the word 'with' in the given sentence.
Output:
1