Add a badge which shows number of pages