Does code mandate outlets when windows are above the counter?
The area the range and sink occupy is not counted. But code shows 24” what I would do is put a tombstone receptacle in on each side of the stove counter top.
Some tombstones are quite nice I have used them in large islands and peninsular counters on multiple houses this may be the cleanest looking option as it will not affect the window and would not be below the counter.