Fix #8590
Fix #8275 As the batch operation progresses, the statuses_stats table grows, and the WHERE NOT IN subquery becomes more expensive
* Move status counters to separate table, count replies * Migration to remove old counter columns from statuses table * Fix schema file