Added Len functions for Array and Stack.