split stat into count_stat and value_stat