I have created two counters

```
\newcounter{problem}[section]
\newcounter{solution}[problem]

```

As expected, **problem** resets every time **section** increases.

However, **solution** does not reset when **problem** increases.

What is the problem?