Branch counting now works in way desired....