Dimension and Rank–Nullity

Every basis of a space has the same size, so a space has a number — and that number is conserved.