implemnt bsdconv_counter_reset(), rename counter_t to bsdconv_counter_t