The correct phrase to complete the statement is "quantity." The full statement would read:
"Buildings and roads can affect groundwater-keeping water from soaking into the ground, impacting the quantity of groundwater."
This reflects how impermeable surfaces such as roads and buildings prevent water from being absorbed into the ground, thereby affecting the amount of groundwater that can be replenished.