PLD: use helper for num records, closes #205