Correlation Analysis between the Number of Cycles and Duration of Large-Magnitude Earthquakes in Chile and Japan Regions