Add the number of bad indexes in the message.