correct number of tasks in ExecutorsUI

Index `a` is not `execId` here