How many categories can discourse support?

We currently have 263 categories and counting and working well. Most of those however are private and locked down to various groups (approx 240)