Returns the number of currently held Disposables. Return 0 if this bag has been disposed or is disposing.
0
@override int get length => _validResourcesOrNull()?.length ?? 0;