The number of wonders was not based on any systematic counting - different ancient writers compiled their own lists, and the number 7 happened to be the count that became standardized. While various cultures attached mystical significance to 7, this was not the reason for selecting exactly 7 wonders.