There is two ways to do this (in both cases using the Avisi numbered headings macro).
I don't think that this is possible. The same question was already asked in April: https://answers.atlassian.com/questions/156880/how-to-continue-heading-numbering-across-confluence-pages
There was also no answer, so I think, there is no positive answer.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs