Number of Rectangles That Can Form Largest Square
You are given rectangles described by `[length, width]`. For each rectangle, choose the largest square that can be cut from it without rotating beyond the available sides. Return the number of rectangles that can form a square whose side equals the largest such side among all rectangles. A rectangle contributes once, even when its two sides are equal.