remaining count update

remaining count has to be calculated after excluding current item