How many cells of the rectangle still show it: fewer than cols × rows where text was printed over a sixel or iTerm2 image, or part of it scrolled off.
var cells = 0;