error checking for model self-consistency of # cliques