sets pagination number