counting islands