Return the size of an array
The value try and get a length from.
The length if this is a valid array, or 0 otherwise.
Return the size of an array