Fixed argument number detection