To recognize prescribed parities of several symbol counts, use one state for each tuple of parities. Readinga tracked symbol toggles its coordinate and leaves all other coordinates unchanged. For two tracked symbols this gives four states indexed by Z22.