def compute_summary_sum(summary):
    """Compute sum of all summary counts (except: all)

    :param summary: Summary counts (as dict).
    :return: Sum of all counts (as integer).
    """
    counts_sum = 0
    for name, count in summary.items():
        if name == "all":
            continue    # IGNORE IT.
        counts_sum += count
    return counts_sum