Gets the next sequence number, which can be used as the value of startSequenceNumber in the next subsequent call to getCompletedRunData. This value may be greater than (startSequenceNumber + runs) if a given run completed multiple times due to re-runs.