You could probably run a for each square loop
set global variable squarecount, then for each square if overlapping circle add 1 to that variable, so you should get exactly how many are overlapping.
Don't forget to reset thev ariable to 0 before the loop, otherwise it will just keep adding up