EXM/Expendable Mercenaries/Emissi's Mercs source code and ESP
Skyrim Special Edition mod that adds Emissi, a mercenary dealer, to the Windpeak Inn in Dawnstar. Talk to him in order to use his services (his initial fee is 2000 gold).
After paying his initial fee, you'll be able to hire mercenaries (archer, melee or archer with special ammo) of races and genders of your choice, give Emissi follow/wait commands and follow/wait commands to all mercenaries hired.
More info and stable released versions available at https://www.nexusmods.com/skyrimspecialedition/mods/8296/