Ds\Stack::count

Ds\Stack::countReturns the number of values in the stack