nposargs function

Function to count the number of positional arguments used in a call