How many displays can a Mac handle?
A quick rule of thumb:
M2 = 1 display **
M2 Pro = 2 displays
M2 Max = 3 displays + 1 TV
  *** Macs with a built in display (laptops, iMacs) can handle their built in display + 1 more, Mac Mini's can handle 2 displays
Caution: If non-standard monitors are ordered, the above can change. Please consult the Apple support articles for details.
How many displays can be connected to a MacBook Pro?
How many displays can be connected to a Mac mini?