SubItemCount

Synopsis
This keyword can be used in the Expression parameter of the FLATTEN array function. SubItemCount represents the total number of items in the SubArray parameter.
Returns
Returned types: Numeric array; Boolean array; String array; Object array; Point array.
Examples
1.

The following example shows how to use keywords and functions related to arrays. For more information, see the A comprehensive example subsection of the Array functions section in Chapter 27: Using arrays.

ARRAYTOSTRING(FLATTEN(PatternMatching.Models, Item.Occurrences, CONCAT(Item.Name, " (", SubIndex, "/", SubItemCount, ")", " Score = ", TOSTRING(SubItem.Score, ":F1"))), "\r\n")