Conditionally format the section using the following syntax:

pagenumber=totalpagecount