Query Run
select COUNT(*) from logging where log_timestamp BETWEEN 20190101000000 AND... 4 years ago