def METHOD_NAME(self, lines):
    size = 0
    for line in lines:
        if line.export_type == "subconfig":
            size += self.METHOD_NAME(line.subconfig_id.config_line_ids)
        else:
            size += line.size
    return size