3. commit added counter variable