In this task, you need to count the occurrences of the given word in the given sentence.
Sentence: 'a jet flying with a smaller jet attached to the top of it'. Count the occurrences of the word 'jet' in the given sentence.