agency/sybagency count fix