from typing import Tuple


def get_list_objects_and_total_from_get_object(result: dict) -> Tuple[list, int]:
    """Retrieve the values needed from the results objects"""
    try:
        list_object: list = result["objects"]
        total_object_count: int = result["totals"]["objects"]
    except BaseException:
        raise AttributeError("error format result")
    return (list_object, total_object_count)