The particular number is completely unjustified.  The maximum from the cast would work.  I doubt actually that any scrapers return a combination of ordered and unordered actors (themoviedb.org doesn't afaik) but it would be nice to include the possibility.

I could always spin two loops I guess (one to add the ones with order set, the other to add all others).