Supersymmetric Sigma Models, Partition Functions And The Chern-Gauss-Bonnet Theorem