block.numblocks

Syntax

i = block.numblocks

Get the number of blocks in the model.

Returns:i - number of blocks