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 take the fixture file and folder as command line arguments, load the JSON data, remove the 'id' field from each property, create Property objects, save them to the database, and print the number of objects saved to the console. If the fixture file is empty, it should return 0.
  assert main(base_path) == 0
  assert main(base_path) == 3
  assert main(base_path) == 5
  assert main(base_path) == 1
  assert main(base_path) == 0
output: import json
  import os
  
  def main(base_path):
      fixture_file = os.path.join(base_path, 'fixture.json')
      if not os.path.exists(fixture_file):
          return 0
      
      with open(fixture_file, 'r') as f:
          data = json.load(f)
      
      if not data:
          return 0
      
      properties = data.get('properties', [])
      for prop in properties:
          prop.pop('id', None)
      
      Property.objects.bulk_create([Property(**prop) for prop in properties])
      
      return len(properties)