avoid creating the counter list twice