How many tasks can I run in the user application for OEM4/OEMV API?

The application is initially run in its own task separate from the rest of the system. In addition to the application's main task, more tasks can be created (up to 17 total) with each having different priorities.