static long youTubeSubCount(S channel) { channel = parseYouTubeChannel(channel); S url ="https://www.googleapis.com/youtube/v3/channels?part=statistics&id=UCSvK6EfxnMTajbe-Qpc6NvA&key=" + youTubeDataAPIKey(); Map map = cast loadJSONPage(url); L items = cast map.get("items"); Map item = cast first(items); Map statistics = cast item.get("statistics"); ret toLong(statistics.get("subscriberCount")); }