In your Emulator, open "Extended controls", switch to the "Displays" tab, and find out how many secondary displays can be added to your Emulator. In the answer box, write that number.
Important note: This tab is only available when API level >= 29. There is no extended controls while running in tab mode.