GLib'ified counters