num = getNumInputs(obj) returns
an integer, num, representing the number of inputs
(not counting the object itself) that you must use when calling the
object. This value changes when you alter properties that turn inputs
on or off.
If the object is a source object, num equals
zero.