Substitutes are included, and the number of combatants does not affect the matchmaking result. Alliances are matched based on the total Squad Power of their top 20 Governors among both the combatants and substitutes.