Use the correct dataset length to run the metrics.