LPS-50371 In some cases the structure ddmFields are not named DDMImpl.FIELDS_DISPLAY_NAME (like the TIKARAWMETADATA structure) so ddmFieldsDisplayField is null. In this case there are no repetitions and method should return 0.