MoneyWorks Manual
Edit
Count (value, ...)
Result Type: Number
Definition: Returns the count of the number of arguments.
Examples: Count(5, 3, "one", '10/4/93')
returns 4.
Count(ExpandDetail("Detail.ProductCode"))
returns 3 if there are three detail lines in the transaction.