docs: def _do_ned_namesearch_queries_and_add_resulting_metadata_to_database(
              self,
              batchCount):
          """*Query NED via name searcha and add result metadata to database*
  
          **Key Arguments:**
              - ``batchCount`` - the index number of the batch sent to NED (only needed for printing to STDOUT to give user idea of progress)
  
          *Usage:*
  
              .. code-block:: python
  
                  numberSources = stream._do_ned_namesearch_queries_and_add_resulting_metadata_to_database(batchCount=10)
          """
          self.log.debug(
              'starting the ``_do_ned_namesearch_queries_and_add_resulting_metadata_to_database`` method')
  
          # ASTROCALC UNIT CONVERTER OBJECT
          converter = unit_conversion(
              log=self.log
          )
          tableName = self.dbTableName
  
          # QUERY NED WITH BATCH
          totalCount = len(self.theseIds)
          print "requesting metadata from NED for %(totalCount)s galaxies (batch %(batchCount)s)" % locals()
          # QUERY THE ONLINE NED DATABASE USING NEDDY'S NAMESEARCH METHOD
          search = namesearch(
              log=self.log,
              names=self.theseIds,
              quiet=True
          )
          results = search.get()
          print "results returned from ned -- starting to add to database" % locals()
  
          # CLEAN THE RETURNED DATA AND UPDATE DATABASE
          totalCount = len(results)
          count = 0
          sqlQuery = ""
          dictList = []
          for thisDict in results:
              thisDict["tableName"] = tableName
              count += 1
              for k, v in thisDict.iteritems():
                  if not v or len(v) == 0:
                      thisDict[k] = "null"
                  if k in ["major_diameter_arcmin", "minor_diameter_arcmin"] and (":" in v or "?" in v or "<" in v):
                      thisDict[k] = v.replace(":", "").replace(
                          "?", "").replace("<", "")
                  if isinstance(v, str) and '"' in v:
                      thisDict[k] = v.replace('"', '\\"')
              if "Input name not" not in thisDict["input_note"] and "Same object as" not in thisDict["input_note"]:
                  try:
                      thisDict["raDeg"] = converter.ra_sexegesimal_to_decimal(
                          ra=thisDict["ra"]
                      )
                      thisDict["decDeg"] = converter.dec_sexegesimal_to_decimal(
                          dec=thisDict["dec"]
                      )
                  except:
                      name = thisDict["input_name"]
                      self.log.warning(
                          "Could not convert the RA & DEC for the %(name)s NED source" % locals())
                      continue
                  thisDict["eb_v"] = thisDict["eb-v"]
                  thisDict["ned_name"] = thisDict["input_name"]
                  row = {}
                  for k in ["redshift_quality", "redshift", "hierarchy", "object_type", "major_diameter_arcmin", "morphology", "magnitude_filter", "ned_notes", "eb_v", "raDeg", "radio_morphology", "activity_type", "minor_diameter_arcmin", "decDeg", "redshift_err", "ned_name"]:
                      if thisDict[k] == "null":
                          row[k] = None
                      else:
                          row[k] = thisDict[k]
  
                  dictList.append(row)
  
          self.add_data_to_database_table(
              dictList=dictList,
              createStatement="""SET SESSION sql_mode="";"""
          )
  
          theseIds = ("\", \"").join(self.theseIds)
  
          sqlQuery = u"""
              update %(tableName)s set download_error = 1 where ned_name in ("%(theseIds)s");
          """ % locals()
          writequery(
              log=self.log,
              sqlQuery=sqlQuery,
              dbConn=self.cataloguesDbConn,
          )
  
          print "%(count)s/%(totalCount)s galaxy metadata batch entries added to database" % locals()
          if count < totalCount:
              # Cursor up one line and clear line
              sys.stdout.write("\x1b[1A\x1b[2K")
  
          sqlQuery = u"""
              update tcs_helper_catalogue_tables_info set last_updated = now() where table_name = "%(tableName)s"
          """ % locals()
          writequery(
              log=self.log,
              sqlQuery=sqlQuery,
              dbConn=self.cataloguesDbConn,
          )
  
          self.log.debug(
              'completed the ``_do_ned_namesearch_queries_and_add_resulting_metadata_to_database`` method')
          return None