class_docstr: This class is a simple wrapper maintaining loaded query objects from
  the current TabPy instance. `query_objects` is a dictionary that
  maps query object URI to query objects
  
  The query_objects schema is as follow:
  
  {'version': <current-successfuly-loaded-version>,
   'last_error':<your-recent-error-to-load-model>,
   'endpoint_obj':<loaded_query_objects>,
   'type':<object-type>,
   'status':<LoadSuccessful-or-LoadFailed-or-LoadInProgress>}
class_docstr_tok: ["This","class","is","a","simple","wrapper","maintaining","loaded","query","objects","from","the","current","TabPy","instance",".","`","query_objects","`","is","a","dictionary","that","maps","query","object","URI","to","query","objects","The","query_objects","schema","is","as","follow",":","{","'version","'",":","<","current-successfuly-loaded-version",">",",","'last_error","'",":","<","your-recent-error-to-load-model",">",",","'endpoint_obj","'",":","<","loaded_query_objects",">",",","'type","'",":","<","object-type",">",",","'status","'",":","<","LoadSuccessful-or-LoadFailed-or-LoadInProgress",">","}"]
docstr: Count the number of Loaded QueryObjects stored in memory
docstr_tok: ["Count","the","number","of","Loaded","QueryObjects","stored","in","memory"]
code: def count_objects(self):
      """Count the number of Loaded QueryObjects stored in memory"""
      count = 0
      for uri, po in self.query_objects.items():
          if po["endpoint_obj"] is not None:
              count += 1
      return ObjectCount(count)
  
file_path: TabPy/tabpy/tabpy_server/psws/python_service.py
imports: import concurrent.futures
  import logging
  from tabpy.tabpy_server.common.util import format_exception
  from tabpy.tabpy_server.common.messages import LoadObject, DeleteObjects, FlushObjects, CountObjects, ListObjects, UnknownMessage, LoadFailed, ObjectsDeleted, ObjectsFlushed, QueryFailed, QuerySuccessful, UnknownURI, DownloadSkipped, LoadInProgress, ObjectCount, ObjectList
  from tabpy.tabpy_tools.query_object import QueryObject
label_desc: Use image node_id 6 for calling the PythonService obj's underlying member method code with example usage: obj.count_objects() and returns: ObjectCount