<% a=0; _.each( data.toJSON().sections, function( item, id ) { a++;%> <% }); %>