LPS-36249

Hey Mike,


this is the count improvement for journal article. I modified the base persistence as you described and changed the base dynamic query to be able to use the new count method. I also fixed the journal problem itself by using distinct on articleId when count and check if we already counted the resource primkey when export the actual StagedModel.

thanks,
Daniel