just use a panel with total_secs in a digits element...

something like...

PANEL* total_time =
{
pos_x=0;
pos_y=0;
layer=1;
digits(0,0,5,*,1,total_secs);
flags = VISIBLE;
}