The answer to this question would be: by producing buffer
The pH of optimal growth of bacteria might be different. Some bacteria can grow in an acid condition called acidophile, other live in base condition called alkaliphiles and the rest live in neutral pH condition called neutrophiles. The bacteria can maintain their internal pH by producing acid, base or buffer. If the surrounding pH is too acid, the bacteria can reduce the H+ concentration by producing base. If the condition is too alkali/base, the bacteria can produce acid by doing fermentation.
I think that the answer is 12 billion. So sorry if I am not right.
When we go to Hawaii, we know to dress light and bring an umbrella. This is because we know Hawaii's __Climate___. climate weather