Inserisci un contatore ed un IF.