code: def get_num_names_in_namespace( self, namespace_id ):
          
          cur = self.db.cursor()
          return namedb_get_num_names_in_namespace( cur, namespace_id, self.lastblock )
docs: Get the number of names in a namespace