On the sum of squares of cell complexities in hyperplane arrangements