Fixed monitoring api related to counters