Add test for Stack#getLength
Implement Stack#getLength