text: import json
  
  with open("instances.json", "r") as infile:
      data = json.load(infile)
  
  def get_names():
      com = []
      for instance in data["instances"]:
          name = instance["name"]
          if name.endswith(".com"):
              com.append(name)
      
      print(len(com))
  
  i=0
  for instance in data["instances"]:
      if instance["info"] is not None:
          if "ja" in instance["info"]["languages"]:
              if instance["name"].endswith(".com"):
                  print(instance["name"])
                  print(instance["info"]["languages"])
                  i=i+1
  print(i)
  