MailAddressCount

The MailAddressCount function outputs the number of addresses set in the input mail header's From, To, or CC address field.

Input

Number of Connections: 1
InputData TypeDescription
Input1StringThe address list.

Output

OutputData TypeDescription
Output1intThe number of addresses set in the input mail header's address field.

Exception

Exceptions


Example

Input1Output
Joe Smith <jsmith@infoteria.com>, "Mary Grant" <mgrant@infoteria.com>2