I'd like to know if there is any way to change the number of men in a unit.

It's for the purpose of finding out if a Iphikratean Phalanx could beat a legion cohort if they were on equal footing.

please advise.