add counter to keep track of skip count