Minor cleanup of summary/total_count handling.