def METHOD_NAME(args):
    octets = 0
    packets = 0
    start = None
    stop = None
    for handle in get_result_ids(args):
        r = requests.get('/'.join([args.url, 'packet/analyzer-results', handle]))
        counters = r.json()['flow_counters']
        packets += counters['frame_count']
        if 'frame_length' in counters:
            octets += counters['frame_length']['summary']['total']
        if 'timestamp_first' in counters:
            local_start = iso8601_to_datetime(counters['timestamp_first'])
            local_stop = iso8601_to_datetime(counters['timestamp_last'])
            start = local_start if not start else min(start, local_start)
            stop = local_stop if not stop else max(stop, local_stop)
    if start and stop:
        delta = (stop - start).total_seconds()
        if octets:
            print('{} packets ({} octets) in {} seconds ({:.2f} pps, {:.2f} octets/sec)'.format(
                packets, octets, delta,
                packets / delta if delta else 0,
                octets / delta if delta else 0))
        else:
            print('{} packets in {} seconds ({:.2f} pps)'.format(
                packets, delta, packets / delta if delta else 0))
    else:
        print('No results!')