import json

with open("projects.json", "r") as f:
    data = json.load(f)

print(f"Total projects in JSON: {len(data['projects'])}")
if data["projects"]:
    print(f"First project name: {data['projects'][0]['name']}")
    print(f"First project ID: {data['projects'][0]['id']}")
else:
    print("No projects found in JSON")
