How do get the array length?

I'll tell you what, you post your code to do this.
I haven't had a good laugh all day.