StructCount()
Counts the keys in a structure.
	StructCount( struct=struct );
	
	Returns: Number
| Argument | Description | 
|---|---|
| 
								 
									struct
								 
								
									struct,
									
										required
									
								
							 | 
							
								edit
								 Structure to access Alias: structure, object  | 
						
Examples
editMember Function
animals = {
	cow: "moo",
	pig: "oink"
};
animalCount = animals.count();
echo("There are " & animalCount & " animal(s) in the 'animals' struct");
Non-Member Function
animals = {
	cow: "moo",
	pig: "oink"
};
animalCount = StructCount(animals);
echo("There are " & animalCount & " animal(s) in the 'animals' struct");
See also
- Structures
 - Len()
 - struct.len()
 - Search Issue Tracker open_in_new
 - Search Lucee Test Cases open_in_new (good for further, detailed examples)