How can I increase my counter with every new page and reset to 0 again when it comes to a new chapter?
I know that I can link my counter to a chapter so that it can be reset on every new chapter by:
\newcounter{counter1}[chapter]
but then I have no idea how to increase it.