« Ds\Set::copy Ds\Set::diff » PHP Manual Set Returns the number of values in the set Ds\Set::count (PECL ds >= 1.0.0) Ds\Set::count — Returns the number of values in the set See Countable::count()