Most basic thing for the time being:
cat tests/cg/corpus.kaz.disambiguated.txt | vislcg3 -t -g apertium-kaz.kaz.rlx | grep -c ";.*<Correct"