peer count
Legacy spelling: this command was previously spelled
node-peer-count. Both spellings work, but only the nested spelling shown here appears inhelpand tab completion (v1.4.5+).
Get the number of connected peers in the node.
Usage
peer count
Related
peer list: List connected peers with details.