Added Metric interface, MetricName, and Counter metric.