Fix foreach/repeat misreading arguments.

Only the very first argument should be counted
Without this, you can do '- repeat potato { - narrate 3 } ' and it would
narrate '3' 3 times.
It now correctly throws an error if you try that.