Number of Solutions to a Quadratic Congruence