Sum Formula for SL2 over a Number Field and Selberg Type Estimate for Exceptional Eigenvalues