Counterterms in the formalism of normal products