Rail companies plan to share capacity information with passengers so they can avoid crowded trains.