input: Write a function to load a JSON fixture file, extract properties, create Property objects from the properties, and save them to the database. The function should return the number of Property objects saved. The JSON fixture file should be specified using command line arguments for the fixture file and fixture folder.
  
  assert main('/path/to/base')==5
  assert main('/another/path')==3
  assert main('/invalid/path')==0
  assert main('/path/with/no/properties')==0
  assert main('/correct/path/with/properties')==10
output: import json
  import os
  
  def main(fixture_folder):
      properties_saved = 0
      fixture_file = os.path.join(fixture_folder, 'fixture.json')
      
      if os.path.exists(fixture_file):
          with open(fixture_file, 'r') as file:
              data = json.load(file)
              for prop in data.get('properties', []):
                  # Assuming Property object creation and saving to database logic here
                  properties_saved += 1
      
      return properties_saved