Report.PageCount (gb.report)

Property Read PageCount As Integer

Returns the number of pages in the report