Perhaps a simple question, bu can anyone tell me the simplist way to count the depth of my array ... like the count method in the collection class.

Do I have to loop through until an error is raised to determine how many of an array I have?