Area capture · ⌃⇧4
Aim with a loupe, down to the pixel.
Drag across the frozen screen here. The readout shows the size in pixels, and the magnifier shows exactly where the edge lands. Arrow keys nudge the selection by a pixel, or ten with ⇧.
Selection 552 by 286 pixels.