Get the number of processes in a watcher or in a arbiter
{
"command": "numprocesses",
"propeties": {
"name": "<watchername>"
}
}
The response return the number of processes in the ‘numprocesses` property:
{ "status": "ok", "numprocesses": <n>, "time", "timestamp" }
If the property name isn’t specified, the sum of all processes managed is returned.