I have created the following counters.
\documentclass{article}
\newcounter{CounterOne}
\newcounter{CounterTwo}[CounterOne]
\setcounter{CounterTwo}{1}
\newcommand{\One}{\stepcounter{CounterOne}{\textbf{\theCounterOne.\theCounterTwo}}}
\newcommand{\Two}{\stepcounter{CounterTwo}{\textbf{\theCounterOne.\theCounterTwo}}}
\begin{document}
\One
\One
\Two
\Two
\end{document}
Everything works fine except that the second counter doesn't start from 1 as I have set. Why is that? How can I fix it?