Some implementations have a function which returns the current length of the stack .
Some implementations have a function which returns the current number of items on the stack .