import json

# 경로 설정
json_file_path = "/workspace/it1_conequip_for_filtering/train.json"

# JSON 파일 읽기
with open(json_file_path, 'r') as file:
    json_data = json.load(file)

# 이미지 개수 확인
image_count = len(json_data.get('images', []))

# 결과 출력
print(f"The JSON file contains {image_count} images.")
