.size() This array function returns the number of elements in an array. Example 4 Checking the size of an array Template #set($array = [2,40,367])$array.size() Output 3
#set($array = [2,40,367])$array.size()
3