Measuring earthquakes activity