Add N_transitions data. Fix #29.