J2SAutodata is a plug-in designed to insert the total number of pages of an InDesign CS or CS2 document and keep this number up to date as pages are added or removed. J2SAutoData also works with InDesign books. J2SAutodata provides a new item in the Special Characters submenu of the menu "Type". This menu item lets you insert the number of pages in the document or book in the same way as you insert the current page number. This way, J2SAutodata will count all the pages of an InDesign book and allow you to display the result in one or more of the documents attached to the book. The demo version stops counting after 5 pages.