Fixing bug: do not know the number of files in a metric.