input: 
  def load_properties_from_fixture(fixture_file: str = 'properties.json', fixture_folder: str = 'models/fixtures') -> int:
      """
      Loads a JSON fixture file, extracts properties from it, creates Property objects from the properties, and saves them to the database.
      Returns the number of property objects saved.
  
      >>> load_properties_from_fixture('test_fixture.json', 'test_fixtures')
      3
      >>> load_properties_from_fixture()
      0
      """
      properties_to_save = []
      base_path = unicode(os.path.abspath('.'))
      path = os.path.sep.join([base_path, 'app', fixture_folder, fixture_file])
      with open(path) as file_:
          data = json.load(file_)
      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)
  
  if __name__ == '__main__':
      from app.models.properties import Property
      out = load_properties_from_fixture()
      print("{} objects saved".format(out))
  
output:     
      import os
      import json
      from app.models.properties import Property
  
      properties_to_save = []
      base_path = os.path.abspath('.')
      path = os.path.join(base_path, 'app', fixture_folder, fixture_file)
      if not os.path.exists(path):
          return 0
      with open(path) as file_:
          data = json.load(file_)
      properties = data.get('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)
  