li counter fix