IMO its not a logic. Its a fact.
About 6000 people travel in NON-AC rake & some of them may travel through AC local.... but MANY of them (especially people travelling through 2nd class) cannot afford AC fare and so obviously they will have to travel in Non-AC local Prior OR Next to AC local...& so these 2 Non-AC locals will obviously get extra-crowd....!