replace total to daily cost counter