The given reactant is cyclic anhydride and changes to dicarboxylic acid on hydrolysis. Also there is decarboxylation on heating if there is keto group w.r.t - COOH group. Ozonolysis cleaves (C = C) bond and H2O2 oxidises - CHO to - COOH group.
Thus, number of COOH groups in the product is = 2.