title: Get the first number in array.length
body: <p>I have an dynamically created array. I'm trying to add a span tag that would say something like <code>1 of 20 items</code> then I can navigate through them.</p>
  
  <p>So in the second <code>span</code> tag I have </p>
  
  <pre><code>$('.count_wrap--num').text(theData.length);
  </code></pre>
  
  <p>which gives me the total number in the array.<br>
  My first <code>span</code> tag, which I want to be at 1 looks like : </p>
  
  <pre><code>$('.count_wrap--numOf').text(theData.length);
  </code></pre>
  
  <p>However, it gives me the full number again, how can I get it so the first item is 1? I've tried <code>$('.count_wrap--numOf').text('1');</code> but the index starts at 0 so it counts up weird when navigating through</p>