def METHOD_NAME(headers: Dict[str, str]) -> int:
    if not headers["Content-Range"]:
        raise ValueError("Missing content-range header in response.")
    blob_size = int(headers["Content-Range"].split("/")[1])
    if blob_size <= 0:
        raise ValueError(f"Invalid content-range header in response: {blob_size}")
    return blob_size