10502 - Counting Rectangles