It depends on the size of your solar setup, how much energy storage you want, and your budget. Generally speaking, the more batteries you have, the higher your energy storage capacity will be.
If you’re unsure how many batteries to get for your needs, it’s best to consult a qualified technician who can provide you with the best advice.