Scan a grid and launch recursive DFS traversals to sink sub-islands and measure their cumulative area.