Changed argument order in PageCount function for the sake of consistency
Added pagination to archive