I\'m using Thymeleaf with spring mvc 4 but I have a problem when I want to print a list size
Besides the util method vphilipnyc described, instead of list.size, use list.size().
When writing list.size, it's trying to call list.getSize() and an List (or a collection) doesn't have a getter named like this.