Return Variable's value from RDL back to Nav

I thik No…but why do you need Globals!TotalPages in classic?