def METHOD_NAME(url):
    cmd = f"wget -e robots=off --spider -r --server-response --no-parent {url}"
    # .group(1) - url
    # .group(2) - wget spider details
    # .group(3) - Content-Lenght:
    spider_entry_re = re.compile("--  (https?://[\S]+)\n(.+?)Content-Length: (\S+)", flags=re.MULTILINE | re.DOTALL)
    proc = Process()
    proc.set_log_silence()
    proc.policy['log-check-output']['stderr'] = False
    code, out, err = proc.run_and_check_return_all(cmd)
    all_entries_match = spider_entry_re.findall(err)
    # filter only files (entries specified Length: )
    model_files_match = list(filter(lambda x: x[2] != "unspecified" and x[2] != '0', all_entries_match))
    assert(len(model_files_match) == 1)
    return int(model_files_match[0][2])