int length

Source

int get length {
  assert(this is! EfficientLength);
  int count = 0;
  Iterator it = iterator;
  while (it.moveNext()) {
    count++;
  }
  return count;
}