The ampacity adjustment is only required for the portion of the run where the number of CCC's exceeds 3 in a raceway. If it's only a small portion of the entire run that exceeds 3 CCC's then 310.15(A)(2) Exception may apply so no derating is required at all.