title: iterating number type in express-edge?
body: <p>isn't it possible to itereate through a <code>number</code> type variable in express-edge? On their official docs they mentioned iteration of objects and arrays and when I tried to iterate a <code>number</code> type variable it didn't worked (i mean like a simple loop, will run for <code>n</code> times)</p>
  <p>so basically i'm trying to impelment a pagination, my controller for this look something like this:</p>
  <pre class="lang-js prettyprint-override"><code>// get total documents in the Posts collection
      const count = await Posts.countDocuments();
      const tpgs = Math.ceil(count / limit);
  
      // return response with posts, total pages, and current page
      res.render(&quot;index&quot;,{
        psts: posts,
        totalPages: tpgs,
        currentPage: page
      });
  </code></pre>
  <p>and the html (with express-edge) looks something like this:</p>
  <pre class="lang-html prettyprint-override"><code>@if(totalPages &gt; 0)
          &lt;nav aria-label=&quot;Page navigation example&quot;&gt;
            &lt;ul class=&quot;pagination&quot;&gt;
  
              @each(p in totalPages)
  
                @if(p == 1)
                &lt;li class=&quot;page-item disabled&quot;&gt;
                  &lt;a class=&quot;page-link&quot; href=&quot;#&quot; tabindex=&quot;-1&quot; aria-disabled=&quot;true&quot;&gt;Previous&lt;/a&gt;
                &lt;/li&gt;
                @else
                &lt;li class=&quot;page-item&quot;&gt;&lt;a class=&quot;page-link&quot; href=&quot;posts/{{ p - 1}}&quot;&gt;Previous&lt;/a&gt;&lt;/li&gt;
                @endif
  
                @if(p == currentPage)
                  &lt;li class=&quot;page-item active&quot; aria-current=&quot;page&quot;&gt;
                    &lt;a class=&quot;page-link&quot; href=&quot;{{ p }}&quot;&gt;{{ p }}&lt;/a&gt;
                  &lt;/li&gt;
                @else
                  &lt;li class=&quot;page-item&quot;&gt;&lt;a class=&quot;page-link&quot; href=&quot;posts/{{ p }}&quot;&gt;{{ p }}&lt;/a&gt;&lt;/li&gt;
                @endif
  
                @if(p == totalPages)
                &lt;li class=&quot;page-item disabled&quot;&gt;
                  &lt;a class=&quot;page-link&quot; href=&quot;posts/{{ p + 1}}&quot;&gt;Next&lt;/a&gt;
                &lt;/li&gt;
                @else
                &lt;li class=&quot;page-item&quot;&gt;
                  &lt;a class=&quot;page-link&quot; href=&quot;posts/{{ p + 1}}&quot;&gt;Next&lt;/a&gt;
                &lt;/li&gt;
                @endif
  
              @endeach
  
            &lt;/ul&gt;
          &lt;/nav&gt;
          @endif
  </code></pre>