This comes handy to e.g. restore the original count of a bit array after a BitArray→BitSet→BitArray conversion roundtrip.