The number of elements inserted.
Precondition: r is extracted from this list.
auto l1 = DList!int([234, 5, 1]); auto l2 = DList!int([5, 1]); l2.insertBefore(l2[], 234); assert(l1 == l2);
auto l1 = DList!int([234, 5, 1]); auto l2 = DList!int([5, 1]); int var = 234; l2.insertBefore(l2[], var); assert(l1 == l2);
auto l1 = DList!int([5, 234, 30, 1]); auto l2 = DList!int([5, 1]); auto r = l2[]; r.popFront(); l2.insertBefore(r, [234, 30]); assert(l1 == l2);
Inserts new elements before r.