struct.len()
Counts the keys in a structure.
struct.len( )
Returns: Number
This function does not take any arguments.
Examples
student = {
name:"student1",
id="1",
class:"A"
};
//structlen function is used to find the count of the struct
count = student.len();
echo("The count of the struct is " &count);