PrimitiveArray.length

size_t length() const @safe pure nothrow

Returns

the number of visible slots.