[GO] ~20ms | 98% faster
\nfunc countGoodRectangles(rectangles [][]int) int {\n    ml := 0 \n    tml := 0\n    \n    for _, v := range rectangles {\n        l := 0\n        if v[0] > v[
```\nfunc countGoodRectangles(rectangles [][]int) int {\n    ml := 0 \n    tml := 0\n    \n    for _, v := range rectangles {\n        l := 0\n        if v[0] > v[1] {\n            l = v[1]\n        } else {\n            l = v[0]\n        }\n        if l > ml {\n            ml = l\n            tml = 1\n        } else if ml == l {\n            tml += 1\n        }\n    }\n    \n    return tml\n}\n```
['Go']