input: Write a function to load a JSON fixture file, extract properties from it, create Property objects from the properties, and save them to the database. The function should return the number of properties saved. If the fixture file is empty or has no properties, the function should return 0. Use command line arguments to specify the fixture file and folder. The saved objects should be printed to the console.
  def load_and_save_fixtures(base_path):
      properties_to_save = []
      args = parse_args()
      path = os.path.sep.join([base_path,
                               'app',
                               args.fixture_folder,
                               args.fixture])
      with open(path) as file_:
          data = json.load(file_)
      if 'properties' in data:
          properties = data['properties']
          for property_ in properties:
              property_.pop('id', None)
              properties_to_save.append(Property(**property_))
          Property.objects.insert(properties_to_save)
      
      return len(properties_to_save)
  
  assert load_and_save_fixtures('/path/to/fixtures')==5
  assert load_and_save_fixtures('/path/to/empty_fixture')==0
  assert load_and_save_fixtures('/path/to/one_property')==1
output: def load_and_save_fixtures(base_path):
      properties_to_save = []
      args = parse_args()
      path = os.path.sep.join([base_path, 'app', args.fixture_folder, args.fixture])
      with open(path) as file_:
          data = json.load(file_)
      if 'properties' in data:
          properties = data['properties']
          for property_ in properties:
              property_.pop('id', None)
              properties_to_save.append(Property(**property_))
          Property.objects.insert(properties_to_save)
      
      return len(properties_to_save)