How it works
Two limits decide the battery count. Energy: the sum of watts × hours for everything you keep on, times the days of backup, divided by each battery's usable kWh. Power: everything that could run at the same moment, divided by each battery's continuous kW. You need the larger of the two.
Motors (refrigerators, pumps, AC compressors) pull several times their running power for a second when they start. Batteries list a separate peak or surge rating for this; a soft starter on a central AC or well pump makes it much easier to back up.
Battery figures are the makers' published usable capacity and continuous power. Check the current datasheet, as models change. Appliance numbers are typical values; your appliance labels or a plug-in meter give better ones.