Theoretically, the BATCH_SEQ value in the BATCH_DETAIL Table can go up to 9999, but it is usually set to a more manageable value under the "Maximum Batch Size for Default" system preference (under Background/Upload/Download).  See this Help doc for more details.