verify number of pages equal