Added method to retrieve the incoming transitions count