How do I get the count in a sequence? <dtml-var total-rec_id> rec_id is a field from a table that is being used in the <dtml-in>. However the result isn't correct. TIA Stuart