title: In Mustache, How to get the index of the current Section
body: <p>I am using <a href="http://mustache.github.com/" rel="noreferrer">Mustache</a> and using the data</p>
  
  <pre><code>{ "names": [ {"name":"John"}, {"name":"Mary"} ] }
  </code></pre>
  
  <p>My mustache template is:</p>
  
  <pre><code>{{#names}}
      {{name}}
  {{/names}}
  </code></pre>
  
  <p>What I want to be able to do is to get an index of the current number in the array. Something like:</p>
  
  <pre><code>{{#names}}
      {{name}} is {{index}}
  {{/names}}
  </code></pre>
  
  <p>and have it print out</p>
  
  <pre><code>John is 1
  Mary is 2
  </code></pre>
  
  <p>Is it possible to get this with Mustache? or with Handlebars or another extension?</p>