New get_block_nr() function.
New get_block_size() function.