count_trailing_zero