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