Function Set.length
Iterates over the Set and counts the elements.
size_t length() const @property;
Returns
Count of elements within the Set.
Example
Set!int set;
assert(set .length == 0);
set .insert(8);
assert(set .length == 1);