code: def get_documents_count(self):
          
          db_collections = [
              self.database[c] for c in self.get_collection_names()
          ]  # list of all collections in database
          return sum([c.count() for c in db_collections])
docs: Counts documents in database
  
          :return: Number of documents in db