• How to determine the number of arguments?

Question related to mission Simple Areas

 

How do you go about determining the number of arguments passed to the function? I found a method using the sys library but that is not allowed by CheckIO.

Any hints are greatly appreciated.