display-screens

display-screens is a compiled Lisp function in `frame.el'.

(display-screens &optional DISPLAY)

Return the number of screens associated with DISPLAY.
DISPLAY should be either a frame or a display name (a string).
If DISPLAY is omitted or nil, it defaults to the selected frame's display.