COMMAND COUNT
Since 1.1.0Server
Syntax
COMMAND COUNTReturns the number of top-level commands the server has: those COMMAND describes, without counting subcommands such as CLIENT LIST separately. The count can change from one release to the next, as commands are added.
A client library can compare it with the commands it knows, or fetch the table only when the count has changed. COMMAND LIST gives the names themselves.
Reply
The number of commands, as an integer.
Examples
> COMMAND COUNT
(integer) 369