Set
PHP Manual

Ds\Set::count

(PECL ds >= 1.0.0)

Ds\Set::countReturns the number of values in the set.

See Countable::count()


Set
PHP Manual