$x = ListLength((SELECT [1, 2, 3])); SELECT $x;