track number of uses properly for loop variable removal