various counter init work.