Count(a:Array, [q:Expr]):Int
Count number of objects in an array. a must be an array of objects (such as a builtin object array like Ship or Planet). The expression q is evaluated for each object, as if within a ForEach loop, and the object is counted if it returns true. If q is not specified, all objects are counted.
Since: PCC2 1.99.9