I assume that the wiring method is Type NM cable. Installing 20 No. 12awg cables through a 2-1/2" hole is OK, provided that they are not bundled (secured together) for a distance in excess of 24". See 310.15(B)(2)Exception No. 3.