Question: Extract domain number

Is there any command that allows me to extract the input number of any function f?

exmple:

f: (x1; x2;...;xn)-> y

command (f)=n

thanks for the help!

Please Wait...