Ds\Set::count

Returns the number of values in the set

See Countable::count