LPS-37293 Remove Journal specific code
LPS-37293 Add generic code to count ResourcedModels only once per resource primary key
LPS-37293 Autogenerated