diff --git a/lib/dust.js b/lib/dust.js
index 77fb0a6c..d5806386 100644
--- a/lib/dust.js
+++ b/lib/dust.js
@@ -395,14 +395,18 @@ Chunk.prototype.section = function(elem, context, bodies, params) {
if (dust.isArray(elem)) {
if (body) {
var len = elem.length, chunk = this;
- context.stack.head['$len'] = len;
- for (var i=0; i