(PECL ds >= 1.0.0)
Ds\Stack::count — Returns the number of values in the stack
See Countable::count()