Added support for Array length function validation