def METHOD_NAME(instance):
    """
    Returns total size of a given instance / object (in bytes)
    """
    retval = sys.getsizeof(instance, DEFAULT_SIZE_OF)
    if isinstance(instance, dict):
        retval += sum(METHOD_NAME(_) for _ in itertools.chain.from_iterable(instance.items()))
    elif hasattr(instance, "__iter__"):
        retval += sum(METHOD_NAME(_) for _ in instance if _ != instance)
    return retval