add failure item count limitation