Hi, It there an easy way to count the number of existing headers of certain type? For example: - How many 'via' headers: $hdrcount(Via) ? - How many 'diversion' headers: $hdrcount(Diversion) ? The $hdrcount is an example, just wondering if there is an easy way to get the number. Thanks. Best regards, Joel.