At a minimum the maximum usable cpu cores would be 1 cpu-core per pixel per frame.
So @ 24 frames/second and say the movie is 90 minutes and rendered at 4k resolution (4096x2160) we are looking at the maximum cpu-cores being no less than 4096*2160*90*60*24 = 1,146,617,856,000
That's 1.1 trillion cpu-cores...