NPgs expression not working

I had 3 logs in a project, but all my logs output as PAGE 1 OF 1.  This is the Text Expression I have "PAGE <<Pg>> OF <<NPgs>> from the REPORT DESIGN -> Graphic Tables-> Main.   I assumed 'NPgs' referred to the number of pages.  How can I fix this?