Python3
\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n        s=[]\n        for i in range(len(rectangles)):\n            s
```\nclass Solution:\n    def countGoodRectangles(self, rectangles: List[List[int]]) -> int:\n        s=[]\n        for i in range(len(rectangles)):\n            s.append(min(rectangles[i]))\n        return(s.count(max(s)))\n```
[]