Lets say I have a random article and I want to see if it has multiple pages, and if it does count the number of pages it has. What's the best way to do this? I was thinking grep or something but I really have no clue.