Getting the size of arrays in a Liquid template

Using dot notation: array.size -or- using pipe notation: array | size

References: