Added getPages operation. It will return the number of pages.