Count the Unique Rectangles! code-golf In my last challenge, you were asked to find all rectangles given a m x n grid of them. However, it turned out to be very trivial as there actually was a mathematical formula to solve the problem that I did not even know about! So now, for a little bit more...