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 saved property objects. To use this function, provide the path to the fixture file and specify the folder where fixtures are stored.
  assert main(os.path.abspath('.')) == 3
  assert main(os.path.abspath('.')) == 5
  assert main(os.path.abspath('.')) == 0
output: def main(fixture_path):
      import os
      import json
      from myapp.models import Property
  
      fixture_file = os.path.join(fixture_path, 'fixture.json')
      
      if not os.path.exists(fixture_file):
          return 0
  
      with open(fixture_file, 'r') as f:
          data = json.load(f)
  
      properties = data.get('properties', [])
      saved_count = 0
  
      for prop in properties:
          property_obj = Property(**prop)
          property_obj.save()
          saved_count += 1
  
      return saved_count