counts

The counts endpoint returns object counts.

The following request returns the counts of policy reports:

nctl raw "/policies/api/policyReports/counts" | jq
{
  "modelIndex": "PolicyReport",
  "counts": 848
}