Store the first element from sorted counters list in a variable by coding counter = free_counters[0].

Make sure to type counter = free_counters[0].