deprecated getblocknumber - use getblockcount instead