Query for count of objects in a set

Hi,

I am looking for a C client API to get the count of objects present in a given set in a multinode aerospike cluster but unable to find it (something simliar to what “aql>show sets” returns but only for a specific set). Can someone please point me to right API(s) if avaliable ?

Thanks.

You want to reference the “Info” API documentation. You can run info commands against the cluster. “sets/mynamespace/myset” should give you the object count for a particular node in info context.

Thanks Albot. Yes I got that API and found that it’s returing the objects count what I was looking for.