Counting All Lattice Rectangles in the Square Grid in Near-Linear Time. - Dmitry Babichev; Sergey Babichev (CoRR, 2026)