depends, UI wise is only 1000 lines, so that'll also limit CS scripts probably... otherwise it's 10K lines in general.
Also depends on if you're talking about different journal types like revenue recognition journals, they have a special limit of their own