Finds counters in a flatten netlist