Get a number of arguments in the function

An example showing how to get a number of arguments in the function using Tizen 2.3.