def METHOD_NAME(self, series, metrics):
    """Compute metrics values from series response from the sonarr API"""
    metrics["series.total"] = len(series)
    for show in series:
        if show.get("monitored"):
            metrics["series.monitored"] += 1
        else:
            metrics["series.unmonitored"] += 1
        show_statistics = show.get("statistics", {})
        if show_statistics.get("percentOfEpisodes", 0) == 100.0:
            metrics["series.downloaded"] += 1
        metrics["seasons.total"] += show_statistics.get("seasonCount", 0)
        metrics["episodes.total"] += show_statistics.get("totalEpisodeCount", 0)
        metrics["episodes.downloaded"] += show_statistics.get("episodeFileCount", 0)
        metrics["series.file_size"] += show_statistics.get("sizeOnDisk", 0)
        for season in show.get("seasons", []):
            if season.get("monitored"):
                metrics["seasons.monitored"] += 1
            else:
                metrics["seasons.unmonitored"] += 1
            if season.get("statistics", {}).get("percentOfEpisodes", 0) == 100.0:
                metrics["seasons.downloaded"] += 1