getblockcount

Gets the number of blocks in the main chain.

Example

getblockcount
193531