Does anyone know how to get the length of an array (or a Collection for that matter) using EL in a JSTL tag. For example, I want to do:

<tr>
<td colspan="<c:out value="${paramValues.colHeaders.length}"/>">...</td>
</tr>
<tr>
<c:forEach items="${paramValues.colHeaders}">
<td>...</td>
</c:forEach>
</tr>

However, the line 'paramValues.colHeaders.length' is not valid syntax, because there is no 'getLength' method on arrays. Anyone know how I can work around this (without using scripting tags - that's easy, but that's defeats the purpose of using custom tags).