Minor improvement to verify_count script