increse loop counter