Returns the number of blocks in the main (longest with most difficulty) blockchain.
getblockcount 244848