counter_get_named — Retrieve an existing named counter as a resource.
counter_get_named() returns an existing counter by name if that name exists, or NULL otherwise.
counter_get_name() returns an existing counter by name if that name exists, or NULL otherwise.