frequency counter added for semi-markov transition features