Better artifact counter; use value() instead of string_value