Size() is a formula query function you can use to count the number of records in a text, user, or record list. Size() can use GetRecords as a parameter, or it can use a user list or multi-select text field.
Size() examples
To query the same table
To query a different table
Result
Function layout
Size(GetRecords("{query}"))
Size([Mulit-Select Field Name])
Size(GetRecords("{query}", Table Alias))
Size([Mulit-Select Field Name], Table Alias)
Numeric value
Example using a hard-coded value
Size(GetRecords("{6.EX.'In Progress'}"))
Counts the number of records where field ID 6 is equal to "In Progress"
Counts the number of records on the table assigned alias DBID_PROJECTS where field ID 6 is equal to the value found in the Status field of the record this formula is being calculated on