cast to int and return -1 if argument count is wrong