PLD: add id and replace code to org dataset count element