Discover the CustomXmlPropertyCollection Count property to easily retrieve the total number of elements in your collection for efficient data management.... That ( properties [ 2 ]. Value , Is . EqualTo ( "2003"...Count , Is . EqualTo ( 3 )); // 2 - Remove by name: properties ...