According to the technical specification of your model:
Video Support
Simultaneously supports full native resolution on the built-in display at millions of colors and:
One display with 5120-by-2880 resolution at 60Hz at over a billion colors
Up to two displays with 4096-by-2304 resolution at 60Hz at millions of colors
Up to two displays with 3840-by-2160 resolution at 60Hz at over a billion colors
Thunderbolt 3 digital video output
- Native DisplayPort output over USB‑C
- VGA, HDMI, DVI, and Thunderbolt 2 output supported using adapters (sold separately)
therefore you can have 3 active screens including the screen of your MacBook.
The 2 connected monitor can have a resolution up to 4K.
If you wish to connect a monitor with higher resolution than 4K (e.g. 5K), you will be able to connect only 1 additional monitor (i.e. 2 active screen configuration).
In general, to be able to connect even more monitors you need to have a dedicated GPU. A similar question was addressed here.