def METHOD_NAME(self) -> int:
    path_parts = self._get_rel_path_parts()
    conn = self._get_conn()
    url = urllib.parse.urlsplit(self.path)
    try:
        folder_id = _find_item_id(url.netloc + url.path, conn=conn)
    except FileNotFoundError:
        raise FileNotFoundError(self.path) from None
    response = (
        conn.files()
        .list(
            q=f"name contains {_quote(path_parts[-1])} and {_quote(folder_id)} in parents ",
            fields="files(name,id,size)",
        )
        .execute()
    )
    value: int = 0
    try:
        for f in response["files"]:
            value = int(f["size"])
    except KeyError:
        raise IsADirectoryError(self.path) from None
    return value