Restored counter (I guess it wasn't unnecessary!)