e-length-outputs-length"><span class="std std-ref">length</span></a> = obj.length(0)</div>
</div>
</pre><p>Returns the number of elements in the state vector for the ensemble. If the “useVariables” command has been applied to the ensemble, only counts elements of the variables being used by the ensemble.</p>
<pre><div class="syntax line-block" id="ensemble-length-syntax2">
<div class="line"><a class="reference internal" href="#ensemble-length-outputs-lengths"><span class="std std-ref">lengths</span></a>