Modified the length() methods to return 0 if the input param array or list is null.
Authored by: dennisl-jaffa 2010-10-29
Parent: [r4834]
Child: [r4836]