title: Number of elements in the array
body: <p>Here is the logic I used in the while loop, the value of i is 1 <code>$i&lt;=ora:countNodes(bpws:getVariableData('inputVariable','payload','/ns1:Input/ns1:Add'))</code>. </p>
  
  <p>Here is the xsd I created for reference</p>
  
  <pre><code>        &lt;xsd:element name="Add" type="xsd:int" maxOccurs="unbounded"/&gt;
  </code></pre>
  
  <p>When I used countNodes it's throwing an error. Can anyone please explain me where am I going wrong and what function should I use to find total number of elements in the array.Thanks in advance.</p>