I think he counted the CD not as an mp3 CD, but an audio CD.
A typical CD has a maximum of 80 minutes available to it, if you do that then
1440 * 21 == 30,240 minutes
using 80 minutes, you get 378 CDs.
In his case, he used the average number of minutes to be 43.2 for a CD.