block.num

Syntax

i = block.num

Get the number of blocks in the model.

Returns:i - number of blocks