Atom

Variadic arguments

A variadic function accepts a variable number of arguments. A final parameter prefixed with three dots gathers the extra inputs into an array.

Count the extra names

Keep the first name separate and accept as many additional names as the caller supplies.

Atom
func invite(first, ...others):
    print(first)
    print(count(others))

invite('Ada', 'Lin', 'Sam')
Output
Ada
2

Ada fills the required parameter. Lin and Sam go into the others array.