adds attribute cardinality to markov models [refs #177]