ivs: link in debug_counter module