Vector
PHP Manual

Ds\Vector::count

(PECL ds >= 1.0.0)

Ds\Vector::countReturns the number of values in the collection

See Countable::count()


Vector
PHP Manual