There is no way. Chrome doesn't provide this value.
You need to use pdf utils and merge another template in which you have information about pages available.

Like in this example where you merge header and footer
https://playground.jsreport.net/w/admin/kMI4FBmw