def print_failed(failed):
    """Print failed counts."""
    lines = []
    for key, val in sorted(failed.items()):
        if key != 'failed-cutoff':
            pretty_key = key.replace('-', ' ').title()
            lines.append(f'        {pretty_key}: {len(val)}')
    return '\n'.join(lines)