Gets the value of the metric with the given name.
name
If a metric with the given name doesn't exist, it is NOT created and a 0 is returned.
@override int getMetric(String name) => 0;