Is the number of attackers the only factor relevant when determining the appropriate number of SEs?
The number of Melee troops the attackers have is the only relevant factor. Its a matter of fitting men onto your equipment, which is completely determined by the amount of that equipment you have.