Counting valence quarks at RHIC and LHC