On the number of different prime divisors of element orders