Fix add method in Gauge and Counter metrics classes