Factors affecting frequency of total solar eclipses