number of solutions of a quadratic equation