let find_max_value t =
  try Some (Max_value_counter.find t) with Not_found -> None