My understanding is that OpenXML doesn't support this. Page numbers are determined by the renderer (for example Word). The issue is with soft breaks as the renderer determines when to move to the next page and that isn't stored in the document.
Here's a link to where someone asked a similar question and was given some starter code to try to get page numbers. But that only works with hard breaks. Refer to this article for more information as well.