/* Number of wagons relative to a standard length wagon (rounded up) */
SetDParam(0,(v->u.rail.cached_total_length+7)/8);
DrawStringRightAligned(this->widget[DEPOT_WIDGET_MATRIX].right-1,y+4,STR_TINY_BLACK,TC_FROMSTRING);// Draw the counter
DrawString(this->widget[DEPOT_WIDGET_MATRIX].left,this->widget[DEPOT_WIDGET_MATRIX].right-1,y+4,STR_TINY_BLACK,TC_FROMSTRING,SA_RIGHT);// Draw the counter
doi++;while((u=u->Next())!=NULL);// Determine length of train
SetDParam(0,i);// Set the counter
DrawStringRightAligned(this->widget[DEPOT_WIDGET_MATRIX].right-1,y+4,STR_TINY_BLACK,TC_FROMSTRING);// Draw the counter
DrawString(this->widget[DEPOT_WIDGET_MATRIX].left,this->widget[DEPOT_WIDGET_MATRIX].right-1,y+4,STR_TINY_BLACK,TC_FROMSTRING,SA_RIGHT);// Draw the counter