Count: Integer;
The Count property returns the number of dimensions, which can be rearranged in the matrix.
See also:
IMatrixModelSwapInfo