increase count of loop