accounted for deleted record in checking metadata element counts