get length of array thymeleaf code example Example: thymeleaf list size <td th:text="${#lists.size(u.engines)}">[Engine Size]</td>