1<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
2<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
3<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
4<c:set var="numCategoryProducts" value="${fn:length(categoryProductList)}"/>
5 
6<c:out="${numCategoryProducts}"/>