LPS-69491 created a copy of com.liferay.dynamic.data.mapping.util.DDMFieldsCounter and placed it to com.liferay.dynamic.data.mapping.internal.util.DDMFieldsCounter.
All the references were changed to point to to the internal class.
Now, there are two DDMFieldsCounter classes, one in dynamic-data-mapping-api and one in dynamic-data-mapping-service.
The first one is a publicly available class, and exported, and the other is an internal class, which is not exported.
The duplication should be removed.
com.liferay.dynamic.data.mapping.util.DDMFieldsCounter should be used and the references to com.liferay.dynamic.data.mapping.internal.util.DDMFieldsCounter should be updated.