Thank you for reaching out to the Community. For QuickBooks Online Plus, you can create up to 40 combine classes and locations. However, for QuickBooks Online Advanced, it has unlimited classes. Though, you can only use one class per item when creating a transaction.
To learn more about the usage and limitations, you can refer to these articles: