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