If you are unsure of how much room you will need, you may use an initCount of 0. The Slapi_Mods expands as necessary.