resolve --faliure call on array,hash as elements-- issue

add length method for Numeric class