In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a man jumping in a grass field surrounded by cows'. Count the occurrences of the word 'by' in the given sentence.