You derate #12 from 90* column, which is 30A. 240.4(D) prohibits using #12 with more than a 20A OCPD, except in cases for things like motors.
7 conductors present is for figuring out conduit fill, but as mentioned before, only 6 of those conductors are current carrying, so you would be at 80%, or 24A.
Ambient temperature comes into play even outside of attics, tho you'd have to be at 40*C+ for it to cause an ampacity adjustment. What you have is fine.
If you have a long run of PVC, you will most likely need an expansion coupling due to ambient temperature changes, and if it's in direct sunlight, you may want to add 20*F to the upper end, tho ambient temperature extreme highs rarely affect ampacity of the conductors within the conduit. Here, I figure 100*F change for purposes of outdoor, unburied conduit expansion (10*-110*), and the same for attic conduits (40-140*).
In summary, 7 #12s, 6 of them being CCC, is fine for conduit fill, and at 24A derated ampacity before ambient temps come into play, your install is fine. At 114*F+, 46-50*C, your ampacity adjustment factor is .82, which 24A x .82 = 19.68A, which to me is still fine on a 20A breaker.
eta: here is an older but still good page that describes derating
http://mjobee.com/projects&news/nec art 310.15.B.2.C.pdf