Write a test and change call to retrieve archive_count