Hello,
You can configure that in the Game Types settings.
1. Go to Configuration → Game Types, create several game types and set the required number of players in the hand and table size in each type.
Below is an example of what settings can be used, you can change them as you prefer:
For HU:
For SH:
For FR table size
After making changes to these settings, it is necessary to rebuild the statistics (click on "Clean & Rebuild Statistics"):