Ds\Set::count

(PECL ds >= 1.0.0)

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