code: def single_download_photos(photos):
      
      global counter
      counter = len(photos)
      for photo in photos:
          download_photo(photo)
docs: Use single process to download photos
  
      :param photos: The photos to be downloaded
      :type photos: list of dicts