how to get the total page number of the file
how to get the total page number of the file