ags counting fixed