def METHOD_NAME(glitchtip_urls: list[GlitchtipUrl]) -> int:
    i = 0
    for url in glitchtip_urls:
        i += len(url.responses) or 1
        httpretty.register_uri(
            url.method.upper(),
            urljoin(glitchtip_url, url.uri),
            responses=[
                httpretty.Response(body=json.dumps(r)) for r in url.responses
            ],
            content_type="text/json",
        )
    return i