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

Sentence: 'a group of cows walking back out of the water'. Count the occurrences of the word 'of' in the given sentence.
2