How can I increase the number of mobs spawned in a structure at generation

Hello, I'm modifying a datapack for my modpack and I'm trying to increase the number of mobs in a structure when it generates. I think it has something to do with the NBT data of the structure, but idk how one would edit such data. Thank you!

Continue to help post