Constraint a 9x9 matrix

In reply to harishVL003:

In this code $countones(item), item is an unpacked array of 9 elements, each a single bit. $countones wants to see a packed array. So that is not a valid solution.