Fetches document count for the specified custom datasource.
Tip: Use /debug/{datasource}/status for richer information.
Datasource name for which document count is needed.
OK
Number of documents corresponding to the specified custom datasource.
Bad Request
Not Authorized
Conflict
{"datasource": "string"}
{"documentCount": 0}