global objects are available only inside the Page Header and Page Footer sections due to the nature of the Report Life Cycle
and the fact that the binding to data and processing happens earlier than the rendering and paging of the report.
An alternative approach, as you already suggested, is to process and render the report once to retrieve its page count and then do the same once more but this time pass the already known page count value as a parameter to the report.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items