<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def rotate_window(self, count=1):
        " Rotate the panes in the active window. "
        w = self.get_active_window()
        w.rotate(count=count)