apps
2021.10
false
- Before You Begin
- Getting Started
- How To
- Designing your App
- Events and Rules
- Function: And, Or, Not
- Function: Concat
- Function: Contains
- Function: Count
- Function: EndsWith
- Function: If
- Function: IsBlank
- Function: Length
- Function: List
- Function: StartsWith
- Function: Sum
- Function: Sort
- Function: Now
- Function: Today
- Function: Time
- Function: Year
- Function: Month
- Function: Day
- Function: Hour
- Function: Minute
- Leveraging RPA in your App
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
Function: Count
OUT OF SUPPORT
Apps User Guide for Automation Suite
Last updated Nov 11, 2024
Function: Count
Check to see if a string contains a text fragment
Use this function to count the number of records in a table.
Syntax |
Description |
---|---|
Count(Items [, Condition]) |
Returns the number of records in a table. |
For more information on arguments, see the table below.
Argument |
Type |
Description |
---|---|---|
|
Required |
A list or a table. |
|
Optional |
A condition that must evaluate as true for the item to be counted. |
Assume
JamTypes
is a list of different kinds of Jam:
List(“Apricot”, “Blackberry”, "Blueberry", "Cherry", “Raspberry”, “Peach”, “Strawberry”)
List(“Apricot”, “Blackberry”, "Blueberry", "Cherry", “Raspberry”, “Peach”, “Strawberry”)
Assume process output
JamPrefrences
returns the following DataTable:
Name (Text) |
Country (Text) |
Jam Preference (Text) |
---|---|---|
Adah |
Australia |
Apricot |
Betty |
Brazil |
Blackberry |
Bob |
Brazil |
Blueberry |
Carina |
Cyprus |
Cherry |
Count(
JamTypes
): 7
Count(
JamPreferences
): 4