[fix] archive count at the right place