@classmethod
def prefix_size(cls, line, item):
    """
        How many items appear at the beginning of the line
        """
    for spaces_size, cell in enumerate(line):
        if cell != item:
            return spaces_size
    return len(line)
