# extract and sample with score 0 score_0 = [r for r in results if r["total_score"] == 0] print(f"Samples with score 0: {len(score_0)}") # Samples with score 0: 2