the temp_history_count base on timeout