Count The Number Of Squares Leetcode