${'%d%%' % stats.done_percent if percent is None else percent}

Total number of ${stats.unit}: ${stats.count} - ${interval.title}: ${interval.count}