put back the old window counting method.