MivaScript Builtin Function, Miva Merchant 9+
miva_array_collapse( aggregate var )
<mvt:assign name="g.return_value" value="miva_array_collapse( aggregate var )" />
Collapses the array_variable making the indices sequential starting at 1. Returns the number of elements in the array.
aggregate var