A simple test follows:
${message}
A list of ${animals?size} animals follows:
<#foreach animal in animals> ${animal}<#if animal_has_next>, <#else>.#if> #foreach>
The first animal is an ${animals?first}, and the last is a ${animals?last}.
The end.