E2EE on iCloud with advanced data protectiob still keeps metadata not encrypted likely exactly for this purpose.