Made CountedArray immutable