Count documents in a vector store, optionally filtered by metadata.
Use Cases:
Filtering: Apply the same metadata filter syntax as delete and list operations. Only indexed fields can be used for filtering. An empty filter counts all documents in the store.
The name of the vector store
Request to count documents.
Metadata filter expression
Successful Response
Response for count operation.
Number of documents matching the criteria