add date_sum file

compute the date sum infos