verifying the number of pages created