count_distinct_int added.
remove unnecessary reset from buffer init.