Hi, letty,
well, I answered without thinking.
Of course you have to do the sub-question validation on each row like:
(count(self.sq_SQ001.NAOK)

) and (count(self.sq_SQ002.NAOK)

) and (count(self.sq_SQ003.NAOK)

)
where SQ001,... are the codes of the subquestions.
Meaning you can set your maximum for each row individually.
Nest regards
Joffm