input: Write a function to load a JSON fixture file, extract properties from it, create Property objects from the extracted properties, and save them to the database. The function should also return the number of saved objects. If the fixture file is empty, the function should return 0. The function should take the path to the JSON fixture file and the folder where the fixtures are stored as arguments.
  assert main('/path/to/fixtures/folder')==5
  assert main('/path/to/empty_fixture/folder')==0
  assert main('/non/existent/path')==0
output: def main(fixture_path, fixtures_folder):
      import os
      import json
      from myapp.models import Property
  
      full_path = os.path.join(fixtures_folder, fixture_path)
      
      if not os.path.exists(full_path):
          return 0
      
      with open(full_path, 'r') as file:
          data = json.load(file)
      
      if not data:
          return 0
      
      properties = data.get('properties', [])
      saved_count = 0
      
      for prop in properties:
          property_obj = Property(**prop)
          property_obj.save()
          saved_count += 1
      
      return saved_count