[NTG-context] how do I get the correct page numbers and do the calculations with it?