shell> curl --dump - http://localhost:8529/_api/collection/products/count
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
x-content-type-options: nosniff
location: /_api/collection/products/count
{
"code" : 200,
"error" : false,
"type" : 2,
"statusString" : "loaded",
"keyOptions" : {
"type" : "traditional",
"allowUserKeys" : true,
"lastValue" : 10366
},
"status" : 3,
"name" : "products",
"id" : "10064",
"journalSize" : 33554432,
"isVolatile" : false,
"waitForSync" : true,
"indexBuckets" : 8,
"globallyUniqueId" : "10064",
"isSystem" : false,
"doCompact" : true,
"count" : 100
}