Generalized supergravity equations and generalized Fradkin-Tseytlin counterterm