Torsion-free rank