Instructions: In this task, you need to count the occurrences of the given word in the given sentence.
Input: Sentence: 'a man is sitting on the couch and watching tv while holding the channel selector in his hand and a black guitar is sitting in a corner'. Count the occurrences of the word 'in' in the given sentence.
Output:
2