(Available since version 1.0)
Stack::count — Counts the number of elements in the stack.
This function has no parameters.
Returns the number of elements in the stack.