add counter for gid