Count the total number of documents in a Collection ==================================================== Overview -------- A user can count the total number of documents in a Collection. Example ------- .. code-block:: python from h2ogpte import H2OGPTE client = H2OGPTE( address="https://h2ogpte.genai.h2o.ai", api_key='sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX', ) most_recent_collection_list = client.list_recent_collections(offset=0, limit=1) total_documents_in_collection = client.count_documents_in_collection(most_recent_collection_list[0].id) print(total_documents_in_collection) .. code-block:: text 3