I have a check/voucher template with the apply list populating the voucher. I assign a variable to apply_index to use the index value of a particular line. Is there something to use to get the maximum index value for the apply list (ie total number of lines in the voucher)? Something along the lines of apply_index_max, apply_index_count, apply_index_total, etc?