#12 better solution for getting number of divisors