'Run a recorded macro.
Args:
count: How many times to run the macro.
register: Which macro to run.'

@cmdutils.register(instance='macro-recorder', name='run-macro')
@cmdutils.argument('win_id', win_id=True)
@cmdutils.argument('count', count=True)
def run_macro_command(self, win_id, count=1, register=None):

    self._macro_count[win_id] = count
    if (register is None):
        mode_manager = modeman.instance(win_id)
        mode_manager.enter(usertypes.KeyMode.run_macro, 'run_macro')
    else:
        self.run_macro(win_id, register)
