Adjust ndim for TypedList