Anyone thinking about having solar installed, it is pretty easy to run the numbers yourself using this website (it's a government website)
https://pvwatts.nrel.gov/
You start off by entering your location. If you want to add your actual address, it will pull up an overhead photo of your house and you can draw in the area that you want to use for solar panels
Based on what vavet mentioned, I threw in some number using Ashland VA, a south facing roof, roof mount, etc. Keep in mind the size of the system is DC kW, not AC kWh. For example, I have a 12.5 kW DC system that produces roughly 19,500 kWh AC annually. So for vavet I used 10 kWh DC which based on the weather modeling that website uses should produce about 14,000 kWh AC annually.
Then to determine how many panels you would need, divide that DC output of the system (10,000) by the rated output of the panel you are going to use (ie 320 watts) and you would come up with something like 31 panels. (If you have two different facing roofs you run each roof separately and then combine the totals). Keep in mind these are rough numbers, but you can narrow it down further and any good solar contractor will use something like aurosolar software to crunch the numbers. It's pretty common nowadays to even offer a 'performance guarante' that the system will produce X amount of kWh each year or they will make up the difference or upgrade the system to reach that goal