let lineCount = request.getLineCount({ group: “custpage_transaction_list” });where group is the id of your sublist. To use getSublistValue() where group is the id of your sublist, name is the id of the field in the sublist and line is the line number