You can limit the number of open positions that you can take by setting a Max Position limit. To enable this feature, navigate to Application Settings.
Choose the Accounts tab and click on the Risk Settings button.
This will expand a detail section including the Max Position Size. Enable the toggle and enter a value.