Cursor-Based Pagination Without COUNT: The Fetch n+1 Pattern

A tiny trick that eliminates a COUNT query and makes cursor-based pagination feel effortless.