1. Most roofs aren't flat.
2. For pitched roofs, you're only going to want to install on the south or west facing sides. So only some percentage of your roof area is ideal.
There are roof designs where even on a large house 21 panels won't fit, but looking around my neigborhood most houses could easily do that many.
https://www.infiniteenergy.com.au/wp-content/uploads/2016/06...