An upper bound on the number of nonzero eigenvalues

Suppose V is a finite-dimensional real vector space and T:VV is a linear transformation. Prove that T has at most dim(rangeT) distinct nonzero eigenvalues.