we use aql to calculate the rows in aerospike. like that:
aql> show sets
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| disable-eviction | ns | set-enable-xdr | objects | stop-writes-count | set | memory_data_bytes | truncate_lut | tombstones |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| "false" | "ns1" | "use-default" | "54662401" | "0" | "aa" | "0" | "260936930024" | "0" |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
[127.0.0.1:3000] 1 row in set (0.002 secs)
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| disable-eviction | ns | set-enable-xdr | objects | stop-writes-count | set | memory_data_bytes | truncate_lut | tombstones |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| "false" | "ns1" | "use-default" | "52923757" | "0" | "aa" | "0" | "260936930024" | "0" |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
[192.168.81.138:3000] 1 row in set (0.003 secs)
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| disable-eviction | ns | set-enable-xdr | objects | stop-writes-count | set | memory_data_bytes | truncate_lut | tombstones |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| "false" | "ns1" | "use-default" | "53496824" | "0" | "aa" | "0" | "260936930024" | "0" |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
[192.168.81.137:3000] 1 row in set (0.004 secs)
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| disable-eviction | ns | set-enable-xdr | objects | stop-writes-count | set | memory_data_bytes | truncate_lut | tombstones |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
| "false" | "ns1" | "use-default" | "52987996" | "0" | "aa" | "0" | "260936930024" | "0" |
+------------------+-------+----------------+------------+-------------------+---------+-------------------+----------------+------------+
[192.168.81.135:3000] 1 row in set (0.005 secs)
the objects calculate the rows exact?