Critical points and number of master integrals