Added more counts in check_database_completeness for master_images.