% RESCNT.STY
\renewcommand{\@addtoreset}[3][0]
  {\expandafter\@cons\csname cl@#3\endcsname% 
   {[#1]{#2}}}

\renewcommand{\@stpelt}[2][0]
  {\global\csname c@#2\endcsname #1}
