Raise ArityError on the wrong number of args for get-index.