Загрузка данных
def collect(*a): b = 0 c = 0 for d in a: try: b += len(d) except TypeError: c += 1 return b, c