Although there exists no rectangular grid that contains exactly two million rectangles, find the area of the grid with the nearest solution.
countingRectangles() should return a number.
testString: assert(typeof countingRectangles() === 'number');
- text: countingRectangles() should return 2772.
testString: assert.strictEqual(countingRectangles(), 2772);
```