Counting to four:

<% for (int i=1; i<5; i++) { %>

This number is <%= i %>.

<% } %>

Done counting.