count num transitions