Counting Divisors (general)

SPOJ - DIVCNTK