First create an action that moves PagesInTitle to a new variable, say X: Action: Modify Variable; Target: X; Value: Var(PagesInTitle). Then subtract what you need to from there. Then use X instead of PagesInTitle.
As the member above suggested, you may want to consider instead putting all pages you want covered in a chapter and using PagesInChapter. Put the rest of the pages in another chapter.