Done using FEW.

coi_tot:= TABLE(compared, {classifier, c_modeled, totPos:= COUNT(GROUP, c_actual = c_modeled), totNeg:= COUNT(GROUP, c_actual<>c_modeled)}, classifier, c_modeled, FEW);