Number of common divisors of a and b