def __init__(self, parent, color=None, count=<NUM_LIT:0>, all_fields=False):
if parent.count - parent.subcount - count < <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>' % count)<EOL><DEDENT>super(SubCounter, self).__init__(manager=parent.manager, color=color, count=count)<EOL>self.parent = parent<EOL>self.all_fields = all_fields<EOL>
Args:
    color(str): Series color as a string or integer see :ref:`Series Color <series_color>`
    count(int): Initial count (Default: 0)
    all_fields(bool): Populate ``rate`` and ``eta`` fields (Default: False)